k8s 설치 중 kubeadm init이 되지않는 경우가 발생
2022. 12. 27. 13:22
728x90
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR CRI]: container runtime is not running: output: E1227 04:16:05.829675 21849 remote_runtime.go:948] "Status from runtime service failed" err="rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService"
time="2022-12-27T04:16:05Z" level=fatal msg="getting status of runtime: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService"
, error: exit status 1
Ubuntu 20.04
containerd.io 1.3.7 이상 시 문제가 발생
containerd 데몬에서 cri옵션이 버그
삭제후 재시작
sudo rm /etc/containerd/config.toml
sudo systemctl restart containerd
sudo kubeadm init
728x90