报错现象:
在这里插入图片描述
解决方案:
1、节点状态为notready,检查node节点的VIP,发现VIP不见了
2、在两台node节点上执行以下操作:

pkill nginx
systemctl restart nginx
systemctl restart keepalived

3、然后在master节点上kubectl get nodes就可以查看到了

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐