5

kubernetes不能删除namespace

 3 years ago
source link: https://www.bboy.app/2021/07/27/kubernetes%E4%B8%8D%E8%83%BD%E5%88%A0%E9%99%A4namespace/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

kubernetes不能删除namespace

发表于

2021-07-27 分类于 kubernetes

20210727214221.png

安装完成rancher之后发现有的namespace删除的时候一直处于Terminating状态

原因是因为namespace中的finalizers字段

首先编辑ns

kubectl edit ns grafana

- controller.cattle.io/namespace-auth

之后再重新删除ns就可以了

欢迎关注我的博客www.bboy.app
Have Fun

欢迎关注我的其它发布渠道


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK