inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

쉽게 시작하는 쿠버네티스(v1.35)

1.2.코드로 쉽게 구성하는 쿠버네티스 랩 환경

vagrapt up 실행시 오류 발생 합니다.

1013

김석영

작성한 질문수 2

0

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

[질문 전 답변]
1. 강의에서 다룬 내용과 관련된 질문인가요? [예 | 아니요]
2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? [예 | 아니요]
3. 질문 잘하기 법을 읽어보셨나요? [예 | 아니요]
(https://www.inflearn.com/blogs/1719)
4. 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.

[질문 하기]

vagrapt up 실행시 오류 발생 합니다.

 

    w2-k8s-1.25.0:   libnetfilter_queue.x86_64 0:1.0.2-2.el7_2
    w2-k8s-1.25.0:   socat.x86_64 0:1.7.3.2-2.el7
    w2-k8s-1.25.0:
    w2-k8s-1.25.0: Complete!
    w2-k8s-1.25.0: Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.
    w2-k8s-1.25.0: Created symlink from /etc/systemd/system/multi-user.target.wants/containerd.service to /usr/lib/systemd/system/containerd.service.  
    w2-k8s-1.25.0: Created symlink from /etc/systemd/system/multi-user.target.wants/kubelet.service to /usr/lib/systemd/system/kubelet.service.        
==> w2-k8s-1.25.0: Running provisioner: shell...
    w2-k8s-1.25.0: Running: D:/TEMP/vagrant-shell20230826-19748-nzbq2y.sh
    w2-k8s-1.25.0: [preflight] Running pre-flight checks
    w2-k8s-1.25.0: error execution phase preflight: couldn't validate the identity of the API Server: Get "https://192.168.1.10:6443/api/v1/namespaces/kube-public/configmaps/cluster-info?timeout=10s": context deadline exceeded
    w2-k8s-1.25.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.
PS D:\Users\Administrator\Git\_Lecture_k8s_starter.kit\ch1\1.2\k8s-min-5GiB>

docker kubernetes

답변 1

0

조훈(Hoon Jo)

안녕하세요

vagrant up 에서 발생하는 다양한 이슈는 경우에는 주로 호스트 시스템에 연관되어 있습니다.

그런데 호스트 시스템(Windows, MacOS)의 다양한 경우를 제가 알 수가 없으나 이를 직접적으로 해결해 드리기가 어렵습니다.

그래서 vagrant up의 문제가 발생되고, 이를 커뮤니티 - 자주 묻는 질문등을 통해서 해결이 어렵다면,

image

제공해 드리는 버추얼박스의 가상 머신(VM) 이미지를 import하여 과정을 진행하시면 될 것 같습니다.

환경 설정에 대하여

0

53

2

실습 환경 관련 질의

0

43

2

ch4 디렉토리

0

72

2

cp-k8s-1.30.0(github_SysNet4Admin).ova 파일 확인 부탁드립니다.

0

49

2

6.2 nfs_exporter Permission denied

0

70

2

12분 13초부터의 내용 질문

0

71

1

K8S https 로 try 하는 부분에 대한 Error 확인

0

78

1

deployment 관련 문의

0

83

3

kubectl get nodes 관련 문의

0

197

5

Vagrant 도 에러, OVA도 에러... 실습환경을 만드는게 너무 힘들어요~~~~~!!!!!!

0

112

3

Tabby를 설치후 Copy할때 오류

0

86

3

nginx run 시 ImagePullBackOff 발생

0

101

4

쿠버네티스 환경 구축 질문입니다.

0

110

2

virtualbox 설치 실패

1

123

2

2.4강 brew install 시 .rb 파일 미인식 (./virtualbox-v7.1.10/virtualbox.rb)

1

160

2

워커노드 OS SWAP 질문

0

58

1

2.4.베이그런트(Vagrant)+버추얼박스/vagrant up issue

0

126

2

k run chk-info --image=sysnet4admin/chk-info 에러..

0

102

2

vagrant up 시에 Running pre-flight checks 에서 에러

0

86

2

failed to pull and unpack image \"registry.k8s.io/kube-apiserver:v1.30.14\": context canceled"

0

185

2

vagrant up을 하면 설정과 다르게 설정이 됩니다.

0

124

2

Tabby 무응답

0

128

4

ova 입력시

0

162

3

vagrant up

0

161

2