Kubernetes Master Isolation

2017-09-27  本文已影响0人  getsu

允许master部署pod

kubectl taint nodes --all node-role.kubernetes.io/master-

禁止master部署pod

kubectl taint nodes centos-master-1 node-role.kubernetes.io/master=true:NoSchedule
上一篇 下一篇

猜你喜欢

热点阅读