Skip to content

Commit

Permalink
Revamp rkt and add CRI-O as alternative runtime (#6371)
Browse files Browse the repository at this point in the history
Signed-off-by: Lorenzo Fontana <lo@linux.com>
  • Loading branch information
fntlnz authored and zacharysarah committed Dec 11, 2017
1 parent 5f9e519 commit 17687df
Showing 1 changed file with 28 additions and 5 deletions.
33 changes: 28 additions & 5 deletions docs/getting-started-guides/minikube.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a
* NodePorts
* ConfigMaps and Secrets
* Dashboards
* Container Runtime: Docker, and [rkt](https://github.com/coreos/rkt)
* Container Runtime: Docker, [rkt](https://github.com/rkt/rkt) and [CRI-O](https://github.com/kubernetes-incubator/cri-o)
* Enabling CNI (Container Network Interface)
* Ingress

Expand Down Expand Up @@ -75,15 +75,38 @@ Stopping local Kubernetes cluster...
Stopping "minikube"...
```

### Using rkt container engine
### Alternative Container Runtimes

To use [rkt](https://github.com/coreos/rkt) as the container runtime run:
#### 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/rkt/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.
Expand Down

0 comments on commit 17687df

Please sign in to comment.