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

  

相关文章:

  • 2021-04-30
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
猜你喜欢
  • 2022-12-23
  • 2022-01-20
  • 2022-12-23
  • 2021-07-21
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案