k8s的调度---taint

时间:2021-09-03 21:09:52   收藏:0   阅读:18

Master节点不可调度的原因是上面设置了taint,NoSchedule
技术分享图片
取消taint
kubectl taint node node01 node-role.kubernetes.io/master-
设置taint
kubectl taint node node01 node-role.kubernetes.io/master="":NoSchedule

原文:https://www.cnblogs.com/tian-jun-cs/p/15222910.html

评论(0)
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!