如果kubesphere安装的过程中镜像下载不下来,则需要推送镜像到服务器的harbor
kubectl delete namespace kubesphere-system --force --grace-period=0
kubectl delete customResourceDefinition clusterconfigurations.installer.kubesphere.io --force --grace-period=0
kubectl delete serviceAccount ks-installer --force --grace-period=0
kubectl delete clusterRole ks-installer --force --grace-period=0
kubectl delete clusterRoleBinding ks-installer --force --grace-period=0
kubectl delete deployment ks-installer --force --grace-period=0
kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l 'app in (ks-install, ks-installer)' -o jsonpath='{.items[0].metadata.name}') -f
kubectl delete validatingwebhookconfigurations `kubectl get validatingwebhookconfigurations|awk '{print $1}'`
kubectl rollout restart -n kubesphere-system deployment ks-installer
kubectl edit validatingwebhookconfigurations users.iam.kubesphere.io
查找 failurePolicy 将Fail 改为 Ignore 后重启 ks-installer ,待安装完成后再改回 Fail
kubectl rollout restart -n kubesphere-system deployment ks-installer
04-16
1534
04-23
2329
09-17