K8s - 让Master也能当作Node使用的方法

1,让 Master 也当作 Node 使用

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

有提示可以忽略。

2,将 Master 恢复成 Master Only 状态

kubectl taint node --all node-role.kubernetes.io/master="":NoSchedule
发布了28 篇原创文章 · 获赞 0 · 访问量 2636

猜你喜欢

转载自blog.csdn.net/oopxiajun2011/article/details/105466560