kubectl get nodes 

kubectl taint node xxx-nodename node-role.kubernetes.io/master- #将 Master 也当作 Node 使用
kubectl taint node xxx-nodename node-role.kubernetes.io/master="":NoSchedule #将 Master 恢复成 Master Only 状态

如下图

K8S - 让Master也能当作Node使用(允许将Pod副本调度到Master节点上)

 

相关文章:

  • 2022-12-23
  • 2021-10-05
  • 2022-12-23
  • 2021-08-04
  • 2021-06-02
  • 2022-12-23
  • 2021-06-09
猜你喜欢
  • 2022-12-23
  • 2021-12-13
  • 2022-01-20
  • 2022-01-29
  • 2022-01-12
  • 2021-06-25
  • 2021-05-27
相关资源
相似解决方案