1.22 버전에 대해 vagrant up 수행간에 오류가 있어 문의드립니다.
533
작성자 없음
작성한 질문수 0
강의에서 가이드해주신 Lecturek8s_learning.kit-main\ch2\2.1\k8s-UpTo-10GiB 경로에서, 1.22 버전으로 새로 설치하는 과정에서 하기와 같이 오류가 발생하며 진행되지 않아서 어떤 조치를 수행하면 될지 문의드립니다.
w2-k8s-1.22: Complete!
w2-k8s-1.22: Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.
w2-k8s-1.22: Created symlink from /etc/systemd/system/multi-user.target.wants/kubelet.service to /usr/lib/systemd/system/kubelet.service.
==> w2-k8s-1.22: Running provisioner: shell...
w2-k8s-1.22: Running: C:/Users/khy33/AppData/Local/Temp/vagrant-shell20230805-19116-220pii.sh
w2-k8s-1.22: [preflight] Running pre-flight checks
w2-k8s-1.22: 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": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
w2-k8s-1.22: 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
0
안녕하세요
어떠한 이유로 (현재 그걸 파악하기는 어렵습니다.) API 서버가 제대로 구동되어 올라오지 않은거 같습니다. 또는 어떠한 이유로 API 서버에 접근하기 어려운 것 같습니다.
(저 위의 단순히 콘솔 로그에는 무엇 때문인지 알 수 있는 정보가 없고, 또한 검색해 보시면 다양한 이슈에 다양한 해결책이 개별 호스트 마다 다른 점으로 발생하는 것을 확인하실 수 있으실 것 같습니다.)
이에 따라서 다시 배포하시거나, virtualbox image로 배포하시는게 좋으실 것 같습니다.
호스트 시스템 및 주변 환경의 여러 조건들을 이유로 배포가 되지 않는 것에 대한 이슈는 파악하기 모두가 개별적인 다양한 이유가 있기 때문에 파악하기 어렵습니다.
0
다시 배포를 진행해봤으나 동일하게 w2-k8s-1.22 provisioner 부분에서 에러가 발생합니다.
추가로 말씀해주신 virtualbox image로 배포하는 방법은 어떻게 진행하는 방법일까요?
==> w2-k8s-1.22: Running provisioner: shell...
w2-k8s-1.22: Running: C:/Users/khy33/AppData/Local/Temp/vagrant-shell20230806-14052-78sp8y.sh
w2-k8s-1.22: [preflight] Running pre-flight checks
w2-k8s-1.22: 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": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
w2-k8s-1.22: 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.
w2 VM머신에 들어가서 kubelet 상태를 확인하니 하기와 같네요.
[root@w2-k8s ~]# systemctl status kubelet
● kubelet.service - kubelet: The Kubernetes Node Agent
Loaded: loaded (/usr/lib/systemd/system/kubelet.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/kubelet.service.d
└─10-kubeadm.conf
Active: activating (auto-restart) (Result: exit-code) since Sun 2023-08-06 11:24:13 KST; 2s ago
Docs: https://kubernetes.io/docs/
Process: 4010 ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS (code=exited, status=1/FAILURE)
Main PID: 4010 (code=exited, status=1/FAILURE)
섹션2. 1.5쿠버네티스_컨트롤플레인_노드와_워커_노드_그리고 kubeadm으로 쿠버네티스 직접 구성하기-v1.30 오류
0
40
2
[해결] 2.4. tabby config.yaml 파일 복사 실패 시
1
93
0
9.3 Error 발생 유도 테스트 확인 부탁드립니다.
0
95
2
livenessProbe 어플리케이션 재시작 의미
0
67
2
K8S 노들에 접근이 안됩니다.
0
168
6
arm virtualBox의 vagrant up 에러
0
115
2
추후 강의계획 질문
0
149
1
MAC 에서 사용할 수 있는 ova 파일은 없나요?
0
220
2
7.8. w3-affinity-leader 적용 에러 문제 질문드립니다.
0
211
5
커리큘럼 순서 문의
0
206
2
apply 실행 후 pod상태가 ContainerCreating 에서 변경이 안됩니다.
0
371
2
livenessProbe에 대한 설명이 조금 부족한거 같네요
0
218
3
controlplane_node.sh 실행 오류 문의
0
242
2
예제폴더의 경로와 영상의 경로가 너무나도 다릅니다
0
219
2
9.6강의 소스 수정 요청 및 에러 문의
0
165
2
8.6 강의 중 sysnet4admin/chk-info 이미지 bash 이슈
0
161
3
드디어 맥에서도 virtualbox가 지원 됩니다.
0
282
2
8.3강의 set-ctx-pod-admin.sh 수정 요청
0
120
3
7.5 강의 tardy-nginx 이미지 문제
0
3312
3
ch1. controlplan_node.sh 실행 시 에러가 뜹니다
0
306
3
Kubenetes 클러스터에 추가적으로 신뢰하는 CA를 넣을 수 있나요?
0
183
1
clusterrolebinding의 --namespace 옵션의 역할
0
165
2
A.0003 파일 vagrant file 수정 (자문자답)
0
167
2
nfs-client-provisioner 관련 생성 오류 질문
0
191
1






