Elenca e visualizza le configurazioni dei bucket di archiviazione
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Questa pagina ti guida su come elencare i bucket di archiviazione all'interno di un progetto air-gap di Google Distributed Cloud (GDC) e visualizzare i dettagli di configurazione di ciascun bucket. Scopri i prerequisiti e i passaggi utilizzando sia la console GDC che l'interfaccia a riga di comando (CLI). Queste informazioni ti consentono di ottenere una visibilità completa delle risorse di archiviazione degli oggetti e ti aiutano a verificarne la configurazione.
Questa pagina è rivolta a segmenti di pubblico come gli amministratori IT all'interno del gruppo di operatori dell'infrastruttura o gli sviluppatori all'interno del gruppo di operatori delle applicazioni responsabili della gestione delle risorse di archiviazione degli oggetti negli ambienti isolati di GDC. Per saperne di più, consulta la documentazione relativa ai segmenti di pubblico per GDC air-gapped.
Prima di iniziare
Uno spazio dei nomi del progetto gestisce le risorse bucket nel server API Management. Per utilizzare bucket e oggetti, devi disporre di un progetto.
Devi inoltre disporre delle autorizzazioni del bucket appropriate per eseguire la seguente operazione. Consulta Concedere l'accesso al bucket.
Elenca i bucket di archiviazione
Console
Nel menu di navigazione, fai clic su Object Storage. Tutti i bucket a cui hai accesso sono elencati in una tabella.
Interfaccia a riga di comando
Per elencare tutti i bucket a cui hai accesso in un determinato tenant di object storage, completa i seguenti passaggi:
Esegui il comando seguente per elencare tutti i bucket:
kubectlgetbuckets--all-namespaces
Esegui questo comando per elencare tutti i bucket in uno spazio dei nomi:
kubectlgetbuckets--namespaceNAMESPACE_NAME
Visualizza le configurazioni dei bucket
Console
Nel menu di navigazione, fai clic su Object Storage.
Fai clic sul nome del bucket di cui vuoi visualizzare i dettagli.
Attendi il reindirizzamento a una pagina di visualizzazione dettagliata.
Interfaccia a riga di comando
Utilizza uno dei due comandi per visualizzare i dettagli di configurazione di un bucket:
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[[["\u003cp\u003eThis guide outlines the process for listing Google Distributed Cloud (GDC) air-gapped storage buckets within a project.\u003c/p\u003e\n"],["\u003cp\u003eYou'll need an existing project with appropriate bucket permissions to list and view buckets and objects.\u003c/p\u003e\n"],["\u003cp\u003eBuckets can be listed via the console's "Object Storage" section, or using \u003ccode\u003ekubectl\u003c/code\u003e commands through the CLI.\u003c/p\u003e\n"],["\u003cp\u003eConfiguration details for specific buckets can be viewed through the console by selecting the bucket, or via CLI using \u003ccode\u003ekubectl describe\u003c/code\u003e or \u003ccode\u003ekubectl get\u003c/code\u003e commands.\u003c/p\u003e\n"]]],[],null,["# List and view storage bucket configurations\n\nThis page guides you through how to list storage buckets within a Google Distributed Cloud (GDC) air-gapped project and view the configuration details for each bucket. Learn about the prerequisites and the steps using both the GDC console and command line interface (CLI). This information lets you gain full visibility of your object storage resources and helps you verify their configuration.\n\nThis page is for audiences such as IT admins within the infrastructure operator group or developers within the application operator group who are responsible for managing object storage resources in GDC air-gapped environments. For more information, see [Audiences for GDC air-gapped documentation](/distributed-cloud/hosted/docs/latest/gdch/resources/audiences).\n\nBefore you begin\n----------------\n\nA project namespace manages bucket resources in the Management API server. You\nmust have a [project](/distributed-cloud/hosted/docs/latest/gdch/platform/pa-user/project-management) to work with buckets and objects.\n\nYou must also have the appropriate bucket permissions to perform the following\noperation. See [Grant bucket access](/distributed-cloud/hosted/docs/latest/gdch/platform/pa-user/grant-obtain-storage-access#grant_bucket_access).\n\nList storage buckets\n--------------------\n\n### Console\n\n1. In the navigation menu, click **Object Storage**. All buckets you have access to are listed in a table.\n\n### CLI\n\nTo list all the buckets that you have access to in a given object storage tenant, complete the following steps:\n\n- Run the following command to list all buckets:\n\n kubectl get buckets --all-namespaces\n\n- Run the following command to list all buckets in a namespace:\n\n kubectl get buckets --namespace \u003cvar translate=\"no\"\u003eNAMESPACE_NAME\u003c/var\u003e\n\nView bucket configurations\n--------------------------\n\n### Console\n\n1. In the navigation menu, click **Object Storage**.\n2. Click the name of the bucket of which you want to view the details.\n3. Wait to be redirected to a detailed view page.\n\n### CLI\n\nUse either command to view the configuration details for a bucket: \n\n kubectl describe buckets/\u003cvar translate=\"no\"\u003eBUCKET_NAME\u003c/var\u003e --namespace \u003cvar translate=\"no\"\u003eNAMESPACE_NAME\u003c/var\u003e\n\n kubectl get buckets/\u003cvar translate=\"no\"\u003eBUCKET_NAME\u003c/var\u003e --namespace \u003cvar translate=\"no\"\u003eNAMESPACE_NAME\u003c/var\u003e -o yaml"]]