반응형
  • 쿠버네티스 "coredns CrashLoopBackOff", "10.96.0.1:443: connect: no route to host" 에러 (firewalld)

아래와 같이 corends CrashLoopBackOff가 발생하며 Pod Log를 확인했을때 "10.96.0.1:443: connect: no route to host" 에러가 발생할 경우 firewalld가 실행중인것은 아닌지 확인해볼 필요성이 있습니다.

watch kubectl get pods --all-namespaces

 

kubectl -n kube-system logs -f coredns-74ff55c5b-k6jm6

 

저의 경우 아래 명령들을 통해 에러가 해결되었습니다.

systemctl stop firewalld
systemctl stop kubelet
systemctl stop docker

iptables --flush
iptables -tnat --flush

systemctl start kubelet
systemctl start docker
systemctl start firewalld

 

반응형

+ Recent posts