标签:tables kubeadm 重启 docke tab star nes describe nat
kubectl describe pod coredns -n kube-system
, 查看发现coredns readiness 一直unhealthy, 并且一直报503kubectl 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
标签:tables kubeadm 重启 docke tab star nes describe nat
原文地址:https://www.cnblogs.com/showmycode/p/12260680.html