작성
·
5.2K
0
=====================================
그러고 나니 아래 에러가 발생하네요.
[wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s
[kubelet-check] Initial timeout of 40s passed.
[kubelet-check] It seems like the kubelet isn't running or healthy.
[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.
[kubelet-check] It seems like the kubelet isn't running or healthy.
[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.
[kubelet-check] It seems like the kubelet isn't running or healthy.
[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.
[kubelet-check] It seems like the kubelet isn't running or healthy.
[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.
[kubelet-check] It seems like the kubelet isn't running or healthy.
[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.
답변 2
1
mkdir /etc/docker
cat <<EOF | sudo tee /etc/docker/daemon.json
{
"exec-opts": ["native.cgroupdriver=systemd"],
"log-driver": "json-file",
"log-opts": {
"max-size": "100m"
},
"storage-driver": "overlay2"
}
EOF
위에 적용해보시고
kubeadm reset 후 kubeadm init
그래도 안된다면 kubeadm reset 후 리부팅
kubeadm init 하면 정상동작합니다.
안되면 리부팅한 후 다시하면 거의 되는거 같습니다.
0
안녕하세요 강사 최일선입니다.
답변이 늦어죄송합니다. 다음 문의는 빠르게 답변 드리도록 하곘습니다. ㅠ
일단 주신 내용으로 정보를 확인하기 어렵습니다. 데몬인 kubelet이 정상 구동되지 않은 것으로 보이는데
다음 명령어를 사용해 서비스의 로그를 확인해서 내용을 첨부해주시면 감사하겠습니다!
journalctl -xeu kubelet
감사합니다.