List and view storage bucket configurations

This page shows you how to list Google Distributed Cloud (GDC) air-gapped storage buckets in a project, as well as how to view the configuration details for each bucket.

Before you begin

A project namespace manages bucket resources in the org admin cluster. You must have a project to work with buckets and objects.

You must also have the appropriate bucket permissions to perform the following operation. See Grant bucket access.

List storage buckets

Console

  1. In the navigation menu, click Object Storage. All buckets you have access to are listed in a table.

CLI

To list all the buckets that you have access to in a given object storage tenant, complete the following steps:

  • Run the following command to list all buckets:

    kubectl get buckets --all-namespaces
    
  • Run the following command to list all buckets in a namespace:

    kubectl get buckets --namespace NAMESPACE_NAME
    

View bucket configurations

Console

  1. In the navigation menu, click Object Storage.
  2. Click the name of the bucket of which you want to view the details.
  3. Wait to be redirected to a detailed view page.

CLI

Use either command to view the configuration details for a bucket:

kubectl describe buckets/BUCKET_NAME --namespace NAMESPACE_NAME
kubectl get buckets/BUCKET_NAME --namespace NAMESPACE_NAME -o yaml