Saturday, November 26, 2022

unknown service runtime.v1alpha2.ImageService

Problem:

# kubeadm config images pull

failed to pull image "registry.k8s.io/kube-apiserver:v1.25.4": output: E1126 17:51:40.858868   34828 remote_image.go:222] "PullImage from image service failed" err="rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.ImageService" image="registry.k8s.io/kube-apiserver:v1.25.4"

time="2022-11-26T17:51:40-05:00" level=fatal msg="pulling image: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.ImageService"

, error: exit status 1

To see the stack trace of this error execute with --v=5 or higher

Reason:

containerd cgroup driver is not equal with kubelet cgroup driver.

/etc/containerd/config.toml

### disabled_plugins = ["cri"]

No comments:

Post a Comment