k8s 去除污点

  NoSchedule: 一定不能被调度
  PreferNoSchedule: 尽量不要调度
  NoExecute: 不仅不会调度, 还会驱逐Node上已有的Po
获取污点信息
kubectl describe nodes master1 | grep Taints
去除污点
kubectl taint node master3 node-role.kubernetes.io/master:NoSchedule-

猜你喜欢

转载自blog.csdn.net/weixin_44946147/article/details/121551568
k8s
今日推荐