rkt: Minor refactoring.

This commit is contained in:
Yifan Gu
2016-06-24 11:30:14 -07:00
parent 53e888aa9c
commit be2d47401d
2 changed files with 8 additions and 11 deletions
+3 -4
View File
@@ -3,7 +3,7 @@
This document describes how to run Kubernetes using [rkt](https://github.com/coreos/rkt) as a container runtime.
### **Prerequisite**
### Prerequisite
- [systemd](http://www.freedesktop.org/wiki/Software/systemd/) should be installed on the machine and should be enabled.
The minimum version required for Kubernetes 1.3 is `219`.
@@ -75,8 +75,7 @@ For more information on flannel configuration, please read [CNI/flannel README](
##### Use Google Compute Engine (GCE) network
Each VM on GCE has an additional 256 IP addresses routed to it, so it is possible to forego flannel in smaller clusters.
This can most easily be done by using the builtin kubenet plugin.
This can be done by setting `--network-plugin=kubenet`.
This can most easily be done by using the builtin kubenet plugin, by setting the kubelet flag `--network-plugin=kubenet`.
### Launch a local cluster
@@ -104,7 +103,7 @@ Then we can launch the local cluster using the script:
$ hack/local-up-cluster.sh
```
We are also working on set up rkt as the container runtime for [minikube](https://github.com/kubernetes/minikube/issues/168).
We are also working on setting up rkt as the container runtime for [minikube](https://github.com/kubernetes/minikube/issues/168).
### Launch a CoreOS/rkt cluster on Google Compute Engine (GCE)
+3 -5
View File
@@ -1,8 +1,6 @@
---
---
# Known issues
The following features either are not supported or have large caveats when using the rkt container runtime.
##### Non-existent host volume paths
@@ -37,9 +35,9 @@ spec:
The `kubectl attach` command does not work under the rkt container runtime.
And because of this, some flags in `kubectl run` are not supported, including:
- --attach=true
- --leave-stdin-open=true
- --rm=true
- `--attach=true`
- `--leave-stdin-open=true`
- `--rm=true`
##### Init containers