View and list storage bucket configurations

This page shows you how to list Google Distributed Cloud (GDC) air-gapped appliance 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 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

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

  1. Run the following commands to list all buckets:

    kubectl get buckets --all-namespaces
    kubectl get buckets --namespace NAMESPACE_NAME
    

View bucket configuration

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