📅  最后修改于: 2022-03-11 15:00:32.930000             🧑  作者: Mango
kubectl get namespace -o json > .json
#Edit the JSON file and remove kubernetes from finalizers array which is under spec
kubectl replace --raw "/api/v1/namespaces//finalize" -f .json