본문 바로가기
카테고리 없음

worker node를 master node에 join 실패

by Jason95 2021. 11. 5.

worker node에 대한 vagrant up의 맨 마지막 단계에서

    w1-k8s: Created symlink from /etc/systemd/system/multi-user.target.wants/kubelet.service to /usr/lib/systemd/system/kubelet.service.
    w1-k8s: /tmp/vagrant-shell: line 18: [: =: unary operator expected
==> w1-k8s: Running provisioner: shell...
    w1-k8s: Running: C:/Users/user/AppData/Local/Temp/vagrant-shell20211105-12452-1x1fhk1.sh
    w1-k8s: W1105 12:04:29.044159    3518 join.go:346] [preflight] WARNING: JoinControlPane.controlPlane settings will be ignored when control-plane flag is not set.
    w1-k8s: [preflight] Running pre-flight checks
    w1-k8s:     [WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/

여기까지만 출력되고

5분 동안 멈춰 있다가

에러가 발생하면서 종료된다

 

master node의 cpu를 1core가 아닌 2core로 provision하니 해결되었다