允许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
kubectl taint nodes --all node-role.kubernetes.io/master-
kubectl taint nodes centos-master-1 node-role.kubernetes.io/master=true:NoSchedule
本文标题:Kubernetes Master Isolation
本文链接:https://www.haomeiwen.com/subject/fppuextx.html
网友评论