From a0ba47354fadde2cde9e7409631087c7fd05b51d Mon Sep 17 00:00:00 2001 From: Lorenzo Fontana Date: Fri, 8 Dec 2017 15:53:18 +0100 Subject: [PATCH] Revamp rkt and add CRI-O as alternative runtime Signed-off-by: Lorenzo Fontana --- docs/getting-started-guides/minikube.md | 29 ++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/docs/getting-started-guides/minikube.md b/docs/getting-started-guides/minikube.md index 370360435d26a..3bfba8eead83a 100644 --- a/docs/getting-started-guides/minikube.md +++ b/docs/getting-started-guides/minikube.md @@ -75,15 +75,38 @@ Stopping local Kubernetes cluster... Stopping "minikube"... ``` -### Using rkt container engine +### Alternative Container Runtimes + +#### CRI-O + +To use [CRI-O](https://github.com/kubernetes-incubator/cri-o) as the container runtime, run: + +```bash +$ minikube start \ + --network-plugin=cni \ + --container-runtime=cri-o \ + --bootstrapper=kubeadm +``` + +Or you can use the extended version: + +```bash +$ minikube start \ + --network-plugin=cni \ + --extra-config=kubelet.container-runtime=remote \ + --extra-config=kubelet.container-runtime-endpoint=/var/run/crio.sock \ + --extra-config=image-service-endpoint=/var/run/crio.sock \ + --bootstrapper=kubeadm +``` + +#### rkt container engine To use [rkt](https://github.com/coreos/rkt) as the container runtime run: ```shell $ minikube start \ --network-plugin=cni \ - --container-runtime=rkt \ - --iso-url=https://github.com/coreos/minikube-iso/releases/download/v0.0.5/minikube-v0.0.5.iso + --container-runtime=rkt ``` This will use an alternative minikube ISO image containing both rkt, and Docker, and enable CNI networking.