Visualizzare ed elencare 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 di appliance air-gap di Google Distributed Cloud (GDC) e visualizzare i dettagli di configurazione di ogni 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.
Prima di iniziare
Uno spazio dei nomi del progetto gestisce le risorse bucket nel server API Management. Devi
avere un progetto per lavorare
con bucket e oggetti.
Devi inoltre disporre delle autorizzazioni del bucket appropriate per eseguire la seguente operazione. Consulta Concedere l'accesso al bucket.
Elenca i bucket di archiviazione
Per elencare tutti i bucket a cui hai accesso in un determinato tenant di archiviazione oggetti, completa i seguenti passaggi:
Esegui i seguenti comandi per elencare tutti i 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 appliance storage buckets within a project.\u003c/p\u003e\n"],["\u003cp\u003eA project namespace is required to manage bucket resources, and users must have appropriate permissions to work with buckets and objects.\u003c/p\u003e\n"],["\u003cp\u003eYou can list all accessible buckets within an object storage tenant using the \u003ccode\u003ekubectl get buckets --all-namespaces\u003c/code\u003e or \u003ccode\u003ekubectl get buckets --namespace NAMESPACE_NAME\u003c/code\u003e commands.\u003c/p\u003e\n"],["\u003cp\u003eTo view configuration details for a specific bucket, use either \u003ccode\u003ekubectl describe buckets/BUCKET_NAME --namespace NAMESPACE_NAME\u003c/code\u003e or \u003ccode\u003ekubectl get buckets/BUCKET_NAME --namespace NAMESPACE_NAME -o yaml\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# View and list storage bucket configurations\n\nThis page guides you through how to list storage buckets within a Google Distributed Cloud (GDC) air-gapped appliance 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.\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/appliance/platform/pa-user/create-a-project) to work\nwith 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/appliance/platform/pa-user/grant-obtain-storage-access#grant_bucket_access).\n\nList storage buckets\n--------------------\n\nTo list all the buckets that you have access to in a given object storage\ntenant, complete the following steps:\n\n1. Run the following commands to list all buckets:\n\n kubectl get buckets --all-namespaces\n kubectl get buckets --namespace \u003cvar translate=\"no\"\u003eNAMESPACE_NAME\u003c/var\u003e\n\n### View bucket configuration\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"]]