• 카테고리

    질문 & 답변
  • 세부 분야

    데브옵스 · 인프라

  • 해결 여부

    미해결

vagrant up 명령어 실행 중 worker#3 kubelet 오류로 설치 실패

24.06.28 23:10 작성 조회수 33

0

질문 답변을 제공하지만, 강의 비용에는 Q&A는 포함되어 있지 않습니다.
다만 실습이 안되거나, 잘못된 내용의 경우는 알려주시면 가능한 빠르게 조치하겠습니다!

[질문 전 답변]

안녕하세요, 아래와 같이 kubelet쪽에 문제가 있다고 설치가 안되는데, 해결방법이 궁금합니다

w3-k8s-1.30.0: [kubelet-start] Starting the kubelet

w3-k8s-1.30.0: [kubelet-check] Waiting for a healthy kubelet. This can take up to 4m0s

w3-k8s-1.30.0: [kubelet-check] The kubelet is healthy after 1.504250225s

w3-k8s-1.30.0: [kubelet-start] Waiting for the kubelet to perform the TLS Bootstrap

w3-k8s-1.30.0:

w3-k8s-1.30.0: Unfortunately, an error has occurred:

w3-k8s-1.30.0: context deadline exceeded

w3-k8s-1.30.0:

w3-k8s-1.30.0: This error is likely caused by:

w3-k8s-1.30.0: - The kubelet is not running

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

w3-k8s-1.30.0:

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

w3-k8s-1.30.0: - 'systemctl status kubelet'

w3-k8s-1.30.0: - 'journalctl -xeu kubelet'

w3-k8s-1.30.0: error execution phase kubelet-start: context deadline exceeded

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

The SSH command responded with a non-zero exit status. Vagrant

assumes that this means the command failed. The output for this command

should be in the log above. Please read the output to determine what

went wrong.
1. 강의에서 다룬 내용과 관련된 질문인가요? [예 | 아니요]
2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? [예 | 아니요]
3. 질문 잘하기 법을 읽어보셨나요? [예 | 아니요]
(https://www.inflearn.com/blogs/1719)
4. 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
5. vagrant up 에서 발생하는 문제는 주로 호스트 시스템(Windows, MacOS)과 연관된 다양한 조건에 의해 발생합니다. 따라서 이를 모두 제가 파악할 수 없어서 해결이 어렵습니다. vagrant up으로 진행이 어렵다면 제공해 드리는 가상 머신(VM) 이미지를 import해서 진행하시기 바랍니다.
(https://www.inflearn.com/questions/992407/comment/281901)

[질문 하기]

답변 1

답변을 작성해보세요.

0

안녕하세요

마지막에 적혀 있는 것처럼 호스트 시스템의 어떠한 영향으로 (조건이 다양함) w3-k8s의 kubelet이 동작하지 못한거 같은데

이 경우 w3-k8s를 지우고, Vagrantfile이 있는 곳에서 다시 vagrant up을 실행하시면 됩니다.

안되면 다시 말씀 부탁드립니다.

채널톡 아이콘