Storage-Bucket-Konfigurationen ansehen und auflisten
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Auf dieser Seite erfahren Sie, wie Sie Speicher-Buckets in einem Google Distributed Cloud-Projekt (GDC) mit Air Gap auflisten und die Konfigurationsdetails für jeden Bucket ansehen. Hier finden Sie Informationen zu den Voraussetzungen und den Schritten für die Verwendung der GDC Console und der Befehlszeile (CLI). Mit diesen Informationen erhalten Sie einen vollständigen Überblick über Ihre Objektspeicherressourcen und können deren Konfiguration überprüfen.
Diese Seite richtet sich an Zielgruppen wie IT-Administratoren in der Gruppe der Infrastrukturbetreiber oder Entwickler in der Gruppe der Anwendungsbetreiber, die für die Verwaltung von Objektspeicherressourcen in GDC-Umgebungen ohne Internetverbindung verantwortlich sind.
Hinweise
In einem Projektnamespace werden Bucket-Ressourcen auf dem Management API-Server verwaltet. Sie benötigen ein Projekt, um mit Buckets und Objekten zu arbeiten.
Außerdem benötigen Sie die entsprechenden Bucket-Berechtigungen, um den folgenden Vorgang auszuführen. Weitere Informationen finden Sie unter Bucket-Zugriff gewähren.
Storage-Buckets auflisten
Führen Sie die folgenden Schritte aus, um alle Buckets aufzulisten, auf die Sie in einem bestimmten Object Storage-Mandanten Zugriff haben:
Führen Sie die folgenden Befehle aus, um alle Buckets aufzulisten:
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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"]]