TIE- Vagrant >> k8s 설치시 오류

kyoungyeon·2023년 1월 17일
0

TIE

목록 보기
27/48

error execution phase wait-control-plane: couldn't initialize a Kubernetes cluster
m-k8s: To see the stack trace of this error execute with --v=5 or higher                                                 
m-k8s: Unable to connect to the server: dial tcp 192.168.1.10:6443: i/o timeout
The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. 
he output for this command should be in the log above. Please read the output to determine what went wrong.                                                       
  • 위 에러는 daemon / docker 여러복합문제라 확인을 일일이 해야함.
  • 제일근본은 VagrantFile 설정에 문제일수도 있다.

solution

  • 1 Extension Pack 설치 > Oracle vmbox내에 확장팩 설치를 하면 어느정도 에러를 잡을 수 있다.
  • 2 Vagrant 설정 문제 > vagrant.d 파일을 건드리다보니 데몬이 오류가 나서 인식이 안되는 경우가 종종 있었다.
  • 3 Vagrant destroy -f > 후에 나머지 잔여 파일 로 인해 vagrant up 이 오류남 참조한파일
  • 4 아예 파일 dir 부터 다시 설정 + VagrantFile 부분 수정 + provision 기능 주석처리

err2

kubeadm 먹통 / token 발행이 안되는 경우
참고

err3

kubelet 데몬오류인경우
링크텍스트

profile
🏠TECH & GOSSIP

0개의 댓글