본문 바로가기

트러블슈팅[쿠버네티스] : dial tcp 127.0.0.1:10248: connect: connection refused.

에러메시지 

 

The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp 127.0.0.1:10248: connect: connection refused.

 

쿠버네티스 설치중, control plane 에서, kubeadm init중 나타남..

 

 

해결

os의 swap메모리를 끄지않아서 생긴것 같다...

swapoff -a

swap메모리를 끄니 잘 init 되었다.