Answers for "kubectl terminating namespace stuck"

1

kubernetes : namespace stuck on state terminating

kubectl get namespace <YOUR_NAMESPACE> -o json > <YOUR_NAMESPACE>.json
#Edit the JSON file and remove kubernetes from finalizers array which is under spec
kubectl replace --raw "/api/v1/namespaces/<YOUR_NAMESPACE>/finalize" -f <YOUR_NAMESPACE>.json
Posted by: Guest on June-01-2021

Code answers related to "kubectl terminating namespace stuck"

Browse Popular Code Answers by Language