常用工具命令(1)

2023-09-01 09:59:35 浏览数 (1)

允许/禁止master节点部署pod

# 允许master节点部署pod

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

# 禁止master部署pod

kubectl taint nodes master node-role.kubernetes.io/master=true:NoSchedule

0 人点赞