Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Questa pagina ti guida alla procedura di eliminazione dei bucket di archiviazione negli ambienti appliance con air gap di Google Distributed Cloud (GDC). Vengono trattati i prerequisiti e i metodi per eliminare i bucket tramite la console GDC e l'interfaccia a riga di comando (CLI). Scopri come eliminare i bucket con policy di conservazione tramite la distruzione crittografica, una procedura che prevede l'eliminazione della chiave di crittografia associata al bucket di archiviazione. Queste informazioni ti consentono di gestire in modo sicuro e permanente il ciclo di vita dell'archiviazione di oggetti, garantendo l'igiene e la conformità dei dati
Questa pagina è rivolta a segmenti di pubblico come gli amministratori IT all'interno del gruppo di operatori dell'infrastruttura o gli sviluppatori all'interno del gruppo di operatori delle applicazioni responsabili della gestione delle risorse di archiviazione degli oggetti negli ambienti isolati di GDC.
Prima di iniziare
Uno spazio dei nomi del progetto gestisce le risorse bucket nel server API Management. Devi
avere un progetto per lavorare
con bucket e oggetti.
Devi inoltre disporre delle autorizzazioni del bucket appropriate per eseguire la seguente operazione. Consulta Concedere l'accesso al bucket.
Puoi eliminare i bucket di archiviazione utilizzando la CLI kubectl. I bucket devono essere vuoti
prima di poter essere eliminati.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[[["\u003cp\u003eThis guide details the process for deleting Google Distributed Cloud (GDC) air-gapped appliance storage buckets.\u003c/p\u003e\n"],["\u003cp\u003eA project namespace is required to manage bucket resources in the admin cluster.\u003c/p\u003e\n"],["\u003cp\u003eUsers need appropriate bucket permissions to delete buckets.\u003c/p\u003e\n"],["\u003cp\u003eBuckets must be emptied before they can be deleted.\u003c/p\u003e\n"],["\u003cp\u003eThe kubectl CLI is utilized to delete storage buckets after being emptied.\u003c/p\u003e\n"]]],[],null,["# Delete storage buckets\n\nThis page guides you through how to delete storage buckets within Google Distributed Cloud (GDC) air-gapped appliance environments. It covers prerequisites and methods for deleting buckets through the GDC console and command line interface (CLI). Learn how to delete buckets with retention policies by crypto shredding---a process where you delete the encryption key associated with the storage bucket. This information lets you securely and permanently manage the lifecycle of your object storage, providing data hygiene and compliance\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\nYou can delete storage buckets by using the kubectl CLI. **Buckets must be empty\nbefore you can delete them.**\n\n1. Use the [`GET` or `DESCRIBE` command](/distributed-cloud/hosted/docs/latest/appliance/platform/pa-user/list-view-storage-buckets#view_bucket_configuration) to get the fully qualified\n bucket name.\n\n2. If the bucket is not empty, empty the bucket:\n\n gdcloud storage rm --recursive s3://\u003cvar translate=\"no\"\u003eFULLY_QUALIFIED_BUCKET_NAME\u003c/var\u003e\n\n3. Delete the empty bucket:\n\n kubectl delete buckets/\u003cvar translate=\"no\"\u003eBUCKET_NAME\u003c/var\u003e --namespace \u003cvar translate=\"no\"\u003eNAMESPACE_NAME\u003c/var\u003e"]]