报错现象:

解决方案:
1、节点状态为notready,检查node节点的VIP,发现VIP不见了
2、在两台node节点上执行以下操作:
pkill nginx
systemctl restart nginx
systemctl restart keepalived
3、然后在master节点上kubectl get nodes就可以查看到了
Kubernetes集群修复:VIP消失与nginx、keepalived问题
当Kubernetes节点状态显示notready,并发现VIP丢失时,可以尝试在受影响的node节点上执行pkill nginx、systemctl restart nginx及systemctl restart keepalived来解决。此方法通常能恢复节点状态并重新获取VIP,从而在master节点上通过kubectl get nodes查看到正常状态。
报错现象:

解决方案:
1、节点状态为notready,检查node节点的VIP,发现VIP不见了
2、在两台node节点上执行以下操作:
pkill nginx
systemctl restart nginx
systemctl restart keepalived
3、然后在master节点上kubectl get nodes就可以查看到了
1051
842

被折叠的 条评论
为什么被折叠?