问题描述:
第一个Rancher接管华为云CCE集群后,没有解绑后第二个Rancher接入华为云CCE集群遇到了问题,cattle-system命名空间删除不掉,用edit把命名空间spec清空无效,使用kubectl delete ns cattle-system --force --grace-period=0
无效
具体问题:
[root@ops-uat ~]# kubectl create ns asdsdsd
Error from server (InternalError): Internal error occurred: failed calling webhook "rancher.cattle.io.namespaces.create-non-kubesystem": failed to call webhook: Post