Kubernetes Master Isolation

允许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

你可能感兴趣的:(Kubernetes Master Isolation)