1. 查看master node taint:

root@5g-master:~# kubectl describe node 5g-master | grep Taints
Taints:             node-role.kubernetes.io/master:NoSchedule
2. untainted master node

root@5g-master:~# kubectl taint node  5g-master node-role.kubernetes.io/master:NoSchedule-
node/5g-master untainted
3.再次查看master node的taint

root@5g-master:~# kubectl describe node 5g-master | grep Taints
Taints:             <none>

参考文章:

为k8s-master节点添加/移除污点taints_六月的翅膀的博客-CSDN博客_k8s taint 删除

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐