创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
发帖前请点击 发表主题 右边的 预览(👀) 按钮,确保帖子格式正确。
操作系统信息
例如:虚拟机/物理机,Centos7.5/Ubuntu18.04,4C/8G
Kubernetes版本信息
例如:v18.6。单节点还是多节点。
容器运行时
例如,使用 docker/containerd,版本多少
在线安装v3.4.1,使用containerd方式部署时报错
报错如下:
downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6
13:21:26 CST message: [node2]
pull image failed: Failed to exec command: sudo -E /bin/bash -c “env PATH=$PATH crictl pull registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6 –platform amd64”
I0321 13:21:26.023346 6398 util_unix.go:104] “Using this format as endpoint is deprecated, please consider using full url format.” deprecatedFormat=“/run/containerd/containerd.sock” fullURLFormat=“unix:///run/containerd/containerd.sock”
E0321 13:21:26.029861 6398 remote_image.go:218] “PullImage from image service failed” err=“rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.ImageService” image=“registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6”
FATA[0000] pulling image: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.ImageService: Process exited with status 1
13:21:26 CST retry: [node2]
13:21:26 CST message: [node1]
使用crictl images都是正常的。能查看到
[root@localhost ~]# crictl images
I0321 13:21:56.018598 8741 util_unix.go:104] “Using this format as endpoint is deprecated, please consider using full url format.” deprecatedFormat=“/run/containerd/containerd.sock” fullURLFormat=“unix:///run/containerd/containerd.sock”
IMAGE TAG IMAGE ID SIZE
registry.cn-beijing.aliyuncs.com/kubesphereio/coredns 1.8.6 a4ca41631cc7a 13.6MB
registry.cn-beijing.aliyuncs.com/kubesphereio/flannel-cni-plugin v1.1.2 7a2dcab94698c 3.84MB
registry.cn-beijing.aliyuncs.com/kubesphereio/flannel v0.21.3 0d004b381af6c 24.2MB
registry.cn-beijing.aliyuncs.com/kubesphereio/k8s-dns-node-cache 1.15.12 5340ba194ec91 42.1MB
registry.cn-beijing.aliyuncs.com/kubesphereio/kube-apiserver v1.23.10 9ca5fafbe8dc1 32.6MB
registry.cn-beijing.aliyuncs.com/kubesphereio/kube-controller-manager v1.23.10 91a4a0d5de4e9 30.2MB
registry.cn-beijing.aliyuncs.com/kubesphereio/kube-proxy v1.23.10 71b9bf9750e1f 39.3MB
registry.cn-beijing.aliyuncs.com/kubesphereio/kube-scheduler v1.23.10 d5c0efb802d95 15.1MB
registry.cn-beijing.aliyuncs.com/kubesphereio/pause 3.6 6270bb605e12e 302kB