linux

[SOLVED] unknown service runtime. V1alpha2. ImageService

安装docker或者containerd之后,默认在/etc/containerd/config.toml禁用了CRI,需要注释掉disabled_plugins = [“cri”],否则执行kubeadm进行部署时会报错:

output: E0614 09:35:20.617482   19686 remote_image.go:218] "PullImage from image service failed" err="rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.ImageService" image="registry.aliyuncs.com/google_containers/kube-apiserver:v1.24.0"
time="2022-06-14T09:35:20+08:00" level=fatal msg="pulling image: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.ImageService"

解决办法:
1:修改配置文件/etc/containerd/config.toml,注释掉disabled_plugins = [“cri”]
2:重启containerd

systemctl restart containerd

留言

您的电子邮箱地址不会被公开。 必填项已用 * 标注