kubeadm init 에러 두번째
5584
2 asked
=====================================
그러고 나니 아래 에러가 발생하네요.
[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.
Answer 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
감사합니다.
cilium install 오류
0
82
2
external-ip로 지정된 ip주소로 접속되지 않습니다.
0
71
1
Google cloud에서 클러스터를 만드는 중에 다음과 같은 오류가 발생합니다.
0
105
2
강의가 중간에 끊긴 느낌이 듭니다.
0
68
1
이론 강의 pdf 자료 다운로드 문의
0
139
2
vmware 로 가상서버 여러 대 띄울때 고정ip 로 각각 할당하는 법 알려주세요
0
1374
2
강의해주시는 별도의 강의 자료는 없나요 ??
0
202
1
스토리지 클래스
0
218
1
버전관리
0
178
1
강의 흐름 이상
0
256
1
4 쿠버네티스 워크로드에서부터 갑자기
0
250
1
영상이 나오지 않습니다.
1
216
1
kubeadm init 실패(+join할 때도 참고)
2
1480
0
2024년 3월 4일 기준 설치
3
1578
2
loadbalancer 문의 드립니다.
0
229
1
NodePord local 환경에서 안됨
0
404
2
kubectl apply 와 create 차이점
0
889
1
서비스 DNS 연습문제 중 마지막 요청 실패 질문있습니다 (feat. 서비스 생성 실패 해결방법)
0
305
1
master init error
0
549
2
gasbugs/http-go 이미지 에러
1
368
2
GKE 질문입니다
0
295
1
worker에서 join할 때 오류발생
0
557
2
포트포워딩 및 nfs 관련
0
592
1
sessionAffinity 작동관련 질문
0
500
2

