Skip to content

Commit

Permalink
Fix cmd args for alternative runtimes
Browse files Browse the repository at this point in the history
Since minikube v0.33.0 the default CNI config is not being provisioned
by default (kubernetes/minikube#3441). Therefore,
we need to pass `--enable-default-cni` when starting minikube.
  • Loading branch information
brb committed Jan 24, 2019
1 parent 7b15bdd commit 93dbeac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions content/en/docs/setup/minikube.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ To use [containerd](https://github.com/containerd/containerd) as the container r
```bash
$ minikube start \
--network-plugin=cni \
--enable-default-cni \
--container-runtime=containerd \
--bootstrapper=kubeadm
```
Expand All @@ -124,6 +125,7 @@ Or you can use the extended version:
```bash
$ minikube start \
--network-plugin=cni \
--enable-default-cni \
--extra-config=kubelet.container-runtime=remote \
--extra-config=kubelet.container-runtime-endpoint=unix:///run/containerd/containerd.sock \
--extra-config=kubelet.image-service-endpoint=unix:///run/containerd/containerd.sock \
Expand All @@ -137,6 +139,7 @@ To use [CRI-O](https://github.com/kubernetes-incubator/cri-o) as the container r
```bash
$ minikube start \
--network-plugin=cni \
--enable-default-cni \
--container-runtime=cri-o \
--bootstrapper=kubeadm
```
Expand All @@ -146,6 +149,7 @@ Or you can use the extended version:
```bash
$ minikube start \
--network-plugin=cni \
--enable-default-cni \
--extra-config=kubelet.container-runtime=remote \
--extra-config=kubelet.container-runtime-endpoint=/var/run/crio.sock \
--extra-config=kubelet.image-service-endpoint=/var/run/crio.sock \
Expand All @@ -159,6 +163,7 @@ To use [rkt](https://github.com/rkt/rkt) as the container runtime run:
```shell
$ minikube start \
--network-plugin=cni \
--enable-default-cni \
--container-runtime=rkt
```

Expand Down

0 comments on commit 93dbeac

Please sign in to comment.