# 允许master节点部署 kubectl taint nodes --all node-role.kubernetes.io/master- # 禁止master节点部署 kubectl taint nodes k8s node-role.kubernetes.io/master=true:NoSchedule