请教大侠:用[root@centos7 Chapter04]# kubectl delete pods --all之后,所有的rs,rc创建POD都显示rs,rc已经创建,但POD无法创建。

请教大侠:用[root@centos7 Chapter04]# kubectl delete pods --all之后,所有的rs,rc创建POD都显示rs,rc已经创建,但POD无法创建。

[root@centos7 Chapter04]# kubectl delete pods --all
pod “kubia-bvn27” deleted
pod “kubia-liveness” deleted
pod “kubia-manual” deleted
pod “kubia-p7895” deleted
pod “kubia-w7s2p” deleted
^C
[root@centos7 Chapter04]# kubectl get pods
NAME READY STATUS RESTARTS AGE
kubia-bvn27 1/1 Terminating 5 7d22h
kubia-manual 1/1 Terminating 4 5d20h
kubia-p7895 1/1 Terminating 5 8d
kubia-w7s2p 1/1 Terminating 5 7d22h
[root@centos7 Chapter04]# kubectl get pods
No resources found in default namespace.
[root@centos7 Chapter04]# kubectl get pods
No resources found in default namespace.
[root@centos7 Chapter04]# kubectl create -f kubia-rc.yaml
Error from server (AlreadyExists): error when creating “kubia-rc.yaml”: replicationcontrollers “kubia” already exists
[root@centos7 Chapter04]# kubectl create -f kubia-rc.yaml
Error from server (AlreadyExists): error when creating “kubia-rc.yaml”: replicationcontrollers “kubia” already exists
[root@centos7 Chapter04]# kubectl get pods
No resources found in default namespace.

你可能感兴趣的:(请教大侠:用[root@centos7 Chapter04]# kubectl delete pods --all之后,所有的rs,rc创建POD都显示rs,rc已经创建,但POD无法创建。)