inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

데브옵스(DevOps)를 위한 쿠버네티스 마스터

kubeadm init error

1691

Gyeongun Han

작성한 질문수 4

0

안녕하세요. 다음과 같은 문제가 있어 문의드립니다.

다음과 같은 에러가 발생하고 정상적으로 진행하지 못하고 있습니다.

docker는 정상적으로 설치되어 있고, cgoups 드라이버는 systemd로 설정되어 있습니다.

답변부탁드립니다.

********************************************************************************************

[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.

Unfortunately, an error has occurred:

timed out waiting for the condition

This error is likely caused by:

- The kubelet is not running

- The kubelet is unhealthy due to a misconfiguration of the node in some way (required cgroups disabled)

If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands:

- 'systemctl status kubelet'

- 'journalctl -xeu kubelet'

Additionally, a control plane component may have crashed or exited when started by the container runtime.

To troubleshoot, list all containers using your preferred container runtimes CLI.

Here is one example how you may list all running Kubernetes containers by using crictl:

- 'crictl --runtime-endpoint unix:///var/run/containerd/containerd.sock ps -a | grep kube | grep -v pause'

Once you have found the failing container, you can inspect its logs with:

- 'crictl --runtime-endpoint unix:///var/run/containerd/containerd.sock logs CONTAINERID'

error execution phase wait-control-plane: couldn't initialize a Kubernetes cluster

To see the stack trace of this error execute with --v=5 or higher

 

docker kubernetes

답변 3

0

쏭지

안녕하세요 . 이건 kubelet 이 정상적으로 작동하지 않아서 벌어지는 에러인데요.

  1. kubelet 삭제 후 재설치 하시고 러닝됐는지 확인

  2. 도커랑 컨테이너 리스타트 후 다시 init

두개 해보시면 될거예요!

 

 

0

dlwngud74

업로드 영상 기다리겠습니다.
감사합니다.

0

CLOUD SECURITY LAB

1.26.1 기준으로 설치하는 방법 업로드 드렸습니다 감사합니다~

0

CLOUD SECURITY LAB

안녕하세요 강사 최일선입니다.

말씀하신 오류는 containerd와 kubelet의 호환성 문제로 실행되지 않는 것입니다.

이 문제는 얼마 전에 업데이트된 현재 최신 버전인 1.26에서 나타나고 있습니다.

이 부분을 해결하기 위해서는 docker.io를 설치하는 것이 아니라 containerd를 설치하셔야 합니다. docker.io를 설치하면 containerd가 호환되지 않는 것으로 보입니다. (또는 쿠버네티스를 1.25버전을 설치하는 것도 방법이 되겠습니다)

현재 교체 영상을 촬영 중이며 이번 주 중에 업로드될 수 있도록 하겠습니다.

우선 영상을 기다리시면서 설치를 진행하지 않고, GKE로 구성한 클러스터로 수업을 진행하셔도 실습을 진행하실 수 있습니다.

감사합니다!

 

cilium install 오류

0

84

2

external-ip로 지정된 ip주소로 접속되지 않습니다.

0

73

1

Google cloud에서 클러스터를 만드는 중에 다음과 같은 오류가 발생합니다.

0

115

2

강의가 중간에 끊긴 느낌이 듭니다.

0

70

1

이론 강의 pdf 자료 다운로드 문의

0

142

2

vmware 로 가상서버 여러 대 띄울때 고정ip 로 각각 할당하는 법 알려주세요

0

1397

2

강의해주시는 별도의 강의 자료는 없나요 ??

0

207

1

스토리지 클래스

0

223

1

버전관리

0

180

1

강의 흐름 이상

0

260

1

4 쿠버네티스 워크로드에서부터 갑자기

0

257

1

영상이 나오지 않습니다.

1

224

1

kubeadm init 실패(+join할 때도 참고)

2

1517

0

2024년 3월 4일 기준 설치

3

1581

2

loadbalancer 문의 드립니다.

0

232

1

NodePord local 환경에서 안됨

0

408

2

kubectl apply 와 create 차이점

0

899

1

서비스 DNS 연습문제 중 마지막 요청 실패 질문있습니다 (feat. 서비스 생성 실패 해결방법)

0

311

1

master init error

0

555

2

gasbugs/http-go 이미지 에러

1

370

2

GKE 질문입니다

0

301

1

worker에서 join할 때 오류발생

0

564

2

포트포워딩 및 nfs 관련

0

598

1

sessionAffinity 작동관련 질문

0

507

2