Listar e visualizar configurações de bucket de armazenamento
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Nesta página, você vai aprender a listar buckets de armazenamento em um projeto isolado do Google Distributed Cloud (GDC) e conferir os detalhes de configuração de cada bucket. Saiba mais sobre os pré-requisitos e as etapas usando o console do GDC e a interface de linha de comando (CLI). Com essas informações, você tem visibilidade total dos recursos de armazenamento de objetos e pode verificar a configuração deles.
Esta página é destinada a públicos-alvo como administradores de TI no grupo de operadores de infraestrutura ou desenvolvedores no grupo de operadores de aplicativos responsáveis por gerenciar recursos de armazenamento de objetos em ambientes isolados do GDC. Para mais informações, consulte Públicos-alvo para documentação isolada do GDC.
Antes de começar
Um namespace de projeto gerencia recursos de bucket no servidor da API Management. Você
precisa ter um projeto para trabalhar com buckets e objetos.
Você também precisa ter as permissões de bucket adequadas para realizar a seguinte
operação. Consulte Conceder acesso ao bucket.
Listar buckets de armazenamento
Console
No menu de navegação, clique em Object Storage. Todos os intervalos a que você tem acesso são listados em uma tabela.
CLI
Para listar todos os buckets a que você tem acesso em um determinado locatário de armazenamento de objetos, siga estas etapas:
Execute o comando a seguir para listar todos os buckets:
kubectlgetbuckets--all-namespaces
Execute o seguinte comando para listar todos os buckets em um namespace:
kubectlgetbuckets--namespaceNAMESPACE_NAME
Ver configurações de bucket
Console
No menu de navegação, clique em Object Storage.
Clique no nome do bucket para ver os detalhes.
Aguarde o redirecionamento para uma página de visualização detalhada.
CLI
Use um dos comandos para conferir os detalhes da configuração de um bucket:
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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"]]