Dict.CN 在线词典, 英语学习, 在线翻译 ------------- MyGitee My腾云code My51cto

Happy_EveryDay

可以平凡 不可以平庸 无爱则无忧,无欲则无求,无怒而无敌,无怨才是佛。所有烦恼,都是放不下的执著 开源技群 328035181 MyGitee

博客园 首页 新随笔 管理

1. 卸载扩展组件
先查看已安装的扩展:

bash
kubectl get installplan
然后一键卸载所有扩展:

bash
kubectl delete installplan --all
执行完再次运行 kubectl get installplan,

看到 "No resources found" 才表示扩展清空

 

image

 

image

 

2. 卸载 KubeSphere 核心

helm -n kubesphere-system uninstall ks-core

验证是否卸载干净:

helm list -n kubesphere-system

输出为空即表示 KubeSphere 已从集群中移除

 

image

 

image

 

检查 CRD 是否残留

KubeFed 会安装一些 CRD,卸载 KubeSphere 时可能没清干净:

kubectl get crd | grep kubefed

image

 执行清理 

kubectl get crd -o name | grep kubefed.io | xargs kubectl delete

image

 

posted on 2026-09-16 00:56  2026cn  阅读(9)  评论(0)    收藏  举报