k8s删除Terminating状态的命名空间
[root@k8s-master jenkinsyaml]# kubectl get ns
NAME STATUS AGE
default Active 17d
kube-node-lease Active 17d
kube-ops Active 17d
kube-public Active 17d
kube-system Active 17d
velero Terminating 7d20h
kubectl get ns $NAMESPACE-o json > kubesphere-system.json vim kubesphere-system.json #将spec中的kubernetes删除掉,如下
共有 0 条评论