README: add rkt instructions

pull/570/head
Sergiusz Urbaniak 2016-09-12 14:15:47 +02:00
parent 270f182038
commit c604614ad3
No known key found for this signature in database
GPG Key ID: 2D0B9832C789E46F
1 changed files with 14 additions and 2 deletions

View File

@ -9,12 +9,14 @@ Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a
### Features
* Minikube packages and configures a Linux VM, Docker and all Kubernetes components, optimized for local development.
* Minikube packages and configures a Linux VM, the container runtime, and all Kubernetes components, optimized for local development.
* Minikube supports Kubernetes features such as:
* DNS
* NodePorts
* ConfigMaps and Secrets
* Dashboards
* Container Runtime: Docker, and [rkt](https://github.com/coreos/rkt)
* Enabling CNI (Container Network Interface)
## Installation
@ -81,6 +83,17 @@ Stopping local Kubernetes cluster...
Stopping "minikube"...
```
To use [rkt](https://github.com/coreos/rkt) as the container runtime, execute:
```shell
$ minikube start \
--network-plugin=cni \
--container-runtime=rkt \
--iso-url=https://github.com/coreos/minikube-iso/releases/download/v0.0.3/minikube-v0.0.3.iso
```
This will use an alternative minikube ISO image containing both rkt, and Docker, and enable CNI networking.
### Driver plugins
See [DRIVERS](DRIVERS.md) for details on supported drivers and how to install
@ -156,7 +169,6 @@ To determine the NodePort for your service, you can use a `kubectl` command like
`kubectl get service $SERVICE --output='jsonpath="{.spec.ports[0].NodePort}"'`
## Persistent Volumes
Minikube supports [PersistentVolumes](http://kubernetes.io/docs/user-guide/persistent-volumes/) of type `hostPath`.
These PersistentVolumes are mapped to a directory inside the minikube VM.