쿠버네티스를 설치하고 클러스터를 구성하기 위해 kubeadm init 커멘드를 사용했는데 다음과 같은 에러 메세지가 나왔다.
Found multiple CRI endpoints on the host. Please define which one do you wish to use by setting the 'criSocket' field in the kubeadm configuration file: unix:///var/run/containerd/containerd.sock, unix:///var/run/crio/crio.sock
To see the stack trace of this error execute with --v=5 or higher
해당 오류는 cri socket이 두개이상 감지 되었을 때 나타나는 에러 메세지이다.
이럴땐 socket을 지정해주면 해결된다.
필자는 crio를 사용할 예정이기 때문에 다음과 같은 커맨드로 해결했다.
kubeadm init --cri-socket /var/run/crio/crio.sock
'Troubleshooting' 카테고리의 다른 글
[Troubleshooting] Kubernetes user에서 kubectl 명령어 사용하기. (0) | 2024.11.21 |
---|---|
[Troubleshooting] apt-get update warning message. (1) | 2024.10.05 |