Skip to content

Instantly share code, notes, and snippets.

@sjenning
Last active September 12, 2017 22:45
Show Gist options
  • Save sjenning/396a4928c189006e08c21b8e71b47a73 to your computer and use it in GitHub Desktop.
Save sjenning/396a4928c189006e08c21b8e71b47a73 to your computer and use it in GitHub Desktop.
How to use cri-o for kube development
# on fedora 26 (as root)
dnf --enablerepo=updates-testing -y install cri-o
systemctl disable --now docker
systemctl enable --now cri-o
# cd to kubernetes repo
CGROUP_DRIVER=systemd CONTAINER_RUNTIME=remote CONTAINER_RUNTIME_ENDPOINT='/var/run/crio.sock' IMAGE_SERVICE_ENDPOINT='/var/run/crio.sock' ./hack/local-up-cluster.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment