This page shows you how to delete Google Distributed Cloud (GDC) air-gapped appliance storage buckets.
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.
You can delete storage buckets by using the kubectl CLI. Buckets must be empty before you can delete them.
Use the
GET
orDESCRIBE
command to get the fully qualified bucket name.If the bucket is not empty, empty the bucket:
s3cmd rm --recursive -—force s3://FULLY_QUALIFIED_BUCKET_NAME
Delete the empty bucket:
kubectl delete buckets/BUCKET_NAME --namespace NAMESPACE_NAME