1. Node sock 정보 변경
$ kubectl edit no <node-name>
- Change the value of kubeadm.alpha.kubernetes.io/cri-socket from /var/run/dockershim.sock to the CRI socket path of your choice (for example unix:///run/containerd/containerd.sock).
- Note that new CRI socket paths must be prefixed with unix:// ideally.
- Save the changes in the text editor, which will update the Node object.
2. 변경한 노드의 kubelet 재시작
$ systemctl start kubelet
3. 노드 상태 확인
$ kubectl get nodes -o wide
참고
Kubernetes change runtime
'Kubernetes' 카테고리의 다른 글
[Minikube] Minukube on Mac M1 (0) | 2024.02.18 |
---|