其他分享
首页 > 其他分享> > 安装 CRI 客户端 crictl

安装 CRI 客户端 crictl

作者:互联网

# https://github.com/kubernetes-sigs/cri-tools/releases/ 选择版本
wget https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.20.0/crictl-v1.20.0-linux-amd64.tar.gz
sudo tar zxvf crictl-v1.20.0-linux-amd64.tar.gz -C /usr/local/bin

vi /etc/crictl.yaml 
runtime-endpoint: unix:///run/containerd/containerd.sock
image-endpoint: unix:///run/containerd/containerd.sock
timeout: 10
debug: false

# 验证是否可用
crictl  pull nginx:alpine
crictl  rmi  nginx:alpine
crictl  images

标签:tar,containerd,gz,v1.20,sigs,crictl,CRI,客户端
来源: https://www.cnblogs.com/sanduzxcvbnm/p/15802882.html