kubernetes服务账号的删除

[root@docker rook]# kubectl get serviceaccounts
NAME      SECRETS   AGE
default   1         36h
[root@docker rook]# kubectl get serviceaccounts -n rook
NAME               SECRETS   AGE
default            1         25h
rook-ceph-system   1         22m
[root@docker rook]# kubectl delete serviceaccount rook-ceph-system
Error from server (NotFound): serviceaccounts "rook-ceph-system" not found
[root@docker rook]# kubectl delete serviceaccount rook-ceph-system -n rook
serviceaccount "rook-ceph-system" deleted
[root@docker rook]# kubectl get serviceaccounts -n rook
NAME      SECRETS   AGE
default   1         25h
[root@docker rook]# 
 

你可能感兴趣的:(Kubernetes)