IT/CLOUD(AWS,Azure,GCP,Docker)
[Kubernetes] 쿠버네티스 "coredns CrashLoopBackOff", "x.x.x.x:443: connect: no route to host" 에러 (firewalld)
알콩달콩아빠
2022. 6. 19. 20:27
728x90
반응형
SMALL
- 쿠버네티스 "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가 실행중인것은 아닌지 확인해볼 필요성이 있습니다.


저의 경우 아래 명령들을 통해 에러가 해결되었습니다.
systemctl stop firewalld
systemctl stop kubelet
systemctl stop docker
iptables --flush
iptables -tnat --flush
systemctl start kubelet
systemctl start docker
systemctl start firewalld

출처: https://nirsa.tistory.com/293 [Nirsa:티스토리]
728x90
반응형
LIST