k8s 允许 master 被调度
# 执行前
kubectl describe nodes k8s-master1 | grep Taints
Taints: node-role.kubernetes.io/control-plane:NoSchedule
# 允许所有的node都被调度
kubectl taint nodes --all node-role.kubernetes.io/control-plane-
# 执行后
kubectl describe nodes k8s-master1 | grep Taints
Taints: <none>
# 允许某个node被调度
kubectl taint nodes k8s-master1 node-role.kubernetes.io/control-plane-