kubernetes使用containerd运行时,crictl命令配置失败

jack_jones 发布于 2021/12/07 16:32
阅读 151
收藏 0

配置文件如下

runtime-endpoint: "unix:///run/containerd/containerd.sock"
image-endpoint: "unix:///run/containerd/containerd.sock"
timeout: 10
debug: true
pull-image-on-create: false
disable-pull-on-run: false

执行crictl images报错

DEBU[0000] get image connection
DEBU[0000] connect using endpoint 'unix:///run/containerd/containerd.sock' with '10s' timeout
DEBU[0000] connected successfully using endpoint: unix:///run/containerd/containerd.sock
DEBU[0000] ListImagesRequest: &ListImagesRequest{Filter:&ImageFilter{Image:&ImageSpec{Image:,Annotations:map[string]string{},},},}
DEBU[0000] ListImagesResponse: nil
FATA[0000] listing images: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.ImageService

 

加载中
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部