并且一直报503 kubectl logs --tail coredns -n kube-system 发现以下错误c
标签:
安置kubernetes遇见问题kubectl describe pod coredns -n kube-system, 检察发明coredns readiness 一直unhealthy, 并且一直报503
kubectl logs --tail coredns -n kube-system 发明以下错误coredns dial tcp 10.96.0.1:443: connect: no route to host
原因使用kubeadm reset重置kubernetes之后,,iptables没有清理洁净导致。
解决步伐systemctl stop kubelet
systemctl stop docker
iptables --flush
iptables -tnat --flush
systemctl start kubelet
systemctl start docker
kubectl delete pod weave -n kube-system
安置kubernetes遇见coredns坑
温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/file/web/30547.html
- 上一篇:就可以返回给用户
- 下一篇:我们在使用时可以在根元素设置一个参考值即可