정보 보안을 향한 항해

[kubelet-check] dial tcp 127.0.0.1:10248: connect: connection refused. 오류 해결 본문

카테고리 없음

[kubelet-check] dial tcp 127.0.0.1:10248: connect: connection refused. 오류 해결

금홍자 2021. 11. 11. 15:48

[kubelet-check] 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.

 

curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -

sudo nano /etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main

sudo apt-get update


sudo apt-get install -y kubelet kubeadm kubectl kubernetes-cni