安装容器运行时CRI-O v1.18.4
下载安装 CRI-O
yum install git make
curl -OL https://github.com/cri-o/cri-o/releases/download/v1.18.4/crio-v1.18.4.tar.gz
tar -zxf crio-v1.18.4.tar.gz
cd crio-v1.18.4
mkdir -p /etc/crio /opt/cni/bin /usr/local/share/oci-umount/oci-umount.d /usr/local/lib/systemd/system
make install
echo "fs.may_detach_mounts=1" >> /etc/sysctl.conf
sysctl -p
配置 CRI-O
vi /etc/crio/crio.conf
找到如下参数进行修改
pause_image = "kubesphere/pause:3.2"
registries = [
"docker.io" ## 这里可替换成dockerhub的镜像加速器
]
启动 CRI-O
systemctl enable crio && systemctl restart crio