이 페이지에서는 Google Distributed Cloud (GDC) 에어 갭 어플라이언스 환경 내에서 스토리지 버킷을 삭제하는 방법을 안내합니다. GDC 콘솔 및 명령줄 인터페이스 (CLI)를 통해 버킷을 삭제하기 위한 기본 요건과 방법을 설명합니다. 보관 정책이 있는 버킷을 암호 파쇄(저장 버킷과 연결된 암호화 키를 삭제하는 프로세스)를 통해 삭제하는 방법을 알아보세요. 이 정보를 사용하면 객체 스토리지의 수명 주기를 안전하게 영구적으로 관리하여 데이터 위생 및 규정 준수를 보장할 수 있습니다.
이 페이지는 GDC 오프라인 환경에서 객체 스토리지 리소스를 관리하는 인프라 운영자 그룹의 IT 관리자 또는 애플리케이션 운영자 그룹의 개발자와 같은 사용자를 대상으로 합니다.
시작하기 전에
프로젝트 네임스페이스는 관리 API 서버에서 버킷 리소스를 관리합니다. 버킷 및 객체를 사용하려면 프로젝트가 있어야 합니다.
다음 작업을 수행하려면 적절한 버킷 권한도 있어야 합니다. 버킷 액세스 권한 부여를 참고하세요.
kubectl CLI를 사용하여 스토리지 버킷을 삭제할 수 있습니다. 버킷을 삭제하려면 버킷이 비어 있어야 합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 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"]]