WORKSPACE_NAME, PREFIX, and RESOURCE_GROUP to the values you used to deploy it.
Step 1: Delete the namespace
Deleting the namespace removes the namespaced resources - theNamespaceConfig, QueryRouter, AccessToken, service accounts, namespaced RBAC, console, Envoy, xDS, metadata services, compaction job, and the load balancer service. The operator tears down internal services as the NamespaceConfig is removed.
Step 2: Delete cluster-scoped resources
Some workspace resources are cluster-scoped and are not removed with the namespace:Step 3: Delete the DNS record
What’s not deleted
These are preserved by default - they may be shared, expensive to recreate, or hold data:
To remove the workspace Managed Identity and its federated credentials (if nothing else uses it):
Verify deletion
NotFound once cleanup completes (removal can take 1–2 minutes if finalizers are processing). If the namespace stays in Terminating, see Troubleshooting.