k8s之污点报错:error: invalid taint effect: NoExecute-, unsupported taint effect
报错现象:
[root@k8s-master affinit]# kubectl taint nodes k8s-node01 check=wangzy:NoExecute- error: invalid taint effect: NoExecute-, unsupported taint effect See 'kubectl taint -h' for help and examples
报错提示格式不支持,查看帮助文档
根据帮助信息重新去除
[root@k8s-master affinit]# kubectl taint nodes k8s-node01 check:NoExecute-
node/k8s-node01 untainted
确认是否去除
kubectl describe nodes k8s-node01