/setup-cri-dockerd

It is very easy to switch from Docker Shim to CRI Dockerd and back

Primary LanguageShellApache License 2.0Apache-2.0

setup-cri-dockerd

The project is install/uninstall script of cri-dockerd

It is very easy to switch from Docker Shim to CRI Dockerd and back, Pod does not restart

Requirements

Kubernetes installed using Kubeadm

The related parameters are set in /var/lib/kubelet/kubeadm-flags.env as follows (--network-plugin, --pod-infra-container-image)

Switch from Docker Shim to CRI Dockerd

wget -O install.sh https://raw.githubusercontent.com/klts-io/setup-cri-dockerd/main/install.sh
chmod +x ./install.sh && ./install.sh

Back

wget -O uninstall.sh https://raw.githubusercontent.com/klts-io/setup-cri-dockerd/main/uninstall.sh
chmod +x ./uninstall.sh && ./uninstall.sh