Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 915 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 915 Bytes

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