kubectl get deployments --all-namespaces
[root@master ~]# kubectl get deployments --all-namespaces
NAMESPACE NAME READY UP-TO-DATE AVAILABLE AGE
default accept 0/3 3 0 24m
kube-system coredns 2/2 2 2 168m
再执行下面的命令就可以强制删除
kubectl delete -n default deployment accept (NAMESPACE NAME)