[root@sy-suz-srv91 ~]# kubectl get ns NAME STATUS AGE default Active 246d erp100 Active 245d f5 Terminating 97d kube-node-lease Active 246d kube-public Active 246d kube-system Active 246d lonely Terminating 230d mall Active 242d monitor Active 245d monitor1 Active 69d monitor2 Terminating 79d monitoring Active 183d
[root@sy-suz-srv91 ~]# kubectl delete ns f5 Error from server (Conflict): Operation cannot be fulfilled on namespaces "f5": The system is ensuring all content is removed from this namespace. Upon completion, this namespace will automatically be purged by the system.
[root@sy-suz-srv91 ~]# kubectl delete ns f5 --force --grace-period=0 warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. Error from server (Conflict): Operation cannot be fulfilled on namespaces "f5": The system is ensuring all content is removed from this namespace. Upon completion, this namespace will automatically be purged by the system.
[root@sy-suz-srv91 ~]# kubectl get ns NAME STATUS AGE default Active 246d erp100 Active 245d kube-node-lease Active 246d kube-public Active 246d kube-system Active 246d mall Active 242d monitor Active 245d monitor1 Active 70d monitoring Active 183d