1 node(s) had taints that the pod didn't tolerate
異界神域 2020-01-21 11:37:28 1512 已收藏
展開
允許master節點部署pod
kubectl taint nodes --all node-role.kubernetes.io/master-
如果不允許調度
kubectl taint nodes master1 node-role.kubernetes.io/master=:NoSchedule
污點可選參數
NoSchedule: 一定不能被調度
PreferNoSchedule: 儘量不要調度
NoExecute: 不僅不會調度, 還會驅逐Node上已有的Pod