-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Summary
Kubernetes namespace finalizers are blocking namespace deletion during the clusters step, even though the namespaces appear to be empty.
Affected Namespaces
ptd-controller-systemgrafana
Context
- Step:
clusters - Operation: Delete namespace
- Blocker: Finalizers preventing deletion
Symptoms
- Namespace deletion hangs or times out
- Running
kubectl get all -n ptd-controller-systemshows: "No resources found in the ptd-controller-system namespace" - Despite appearing empty, the namespace cannot be deleted
Investigation Findings
- Namespaces appear empty when checking standard resources
- The issue may be related to namespace-scoped Custom Resource Definitions (CRDs)
- CRDs may have finalizers that aren't being properly cleaned up
- Resources may exist that aren't returned by
kubectl get all
Notes
This may not be worth a comprehensive fix if:
- It only affects initial migration or rare teardown scenarios
- Manual intervention once is acceptable
- The issue won't recur during normal operations
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels