标签:dao style sch class 查看 color led ready 需要
k8s集群搭建后。重新做了docker私库。需要将集群的节点修改docker配置,重启docker。
1. 将vonedaonode1踢出集群
# kubectl drain vonedaonode1
2. 查看
# kubectl get nodes NAME STATUS ROLES AGE VERSION vonedaomaster1 Ready master 2d v1.17.3 vonedaonode1 Ready,SchedulingDisabled <none> 47h v1.17.3 vonedaonode3 Ready <none> 46h v1.17.3
3. 将vonedaonode1进行docker配置,和重启
4.将vonedaonode1加入集群
# kubectl uncordon vonedaonode1
node/vonedaonode1 uncordoned
5.查看
# kubectl get nodes NAME STATUS ROLES AGE VERSION vonedaomaster1 Ready master 2d v1.17.3 vonedaonode1 Ready <none> 47h v1.17.3 vonedaonode3 Ready <none> 46h v1.17.3
标签:dao style sch class 查看 color led ready 需要
原文地址:https://www.cnblogs.com/zoujiaojiao/p/12468870.html