Skip to content

Commit

Permalink
update docs for kubernetes support
Browse files Browse the repository at this point in the history
Signed-off-by: Madhav Puri <[email protected]>
  • Loading branch information
mapuri committed Aug 22, 2016
1 parent 4700322 commit 2372969
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ Contiv Cluster intends on supporting a range of clustering software such as Dock
Apache Mesos, and others. Currently, Contiv Cluster supports the following cluster formation:

* **Cluster Type**: Docker [Unified Control Plane]
(https://www.docker.com/products/docker-universal-control-plane) | Docker [Swarm](https://docs.docker.com/swarm/)
(https://www.docker.com/products/docker-universal-control-plane) | Docker [Swarm](https://docs.docker.com/swarm/) |
[Kubernetes](http://kubernetes.io/)
* **Cluster OS**: [CentOS 7.2](https://www.centos.org/)
* **Cluster Target**: Bare Metal | [Vagrant](https://www.vagrantup.com/)

Expand Down
10 changes: 9 additions & 1 deletion management/ansible_vars.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ There are several variables that are made available to provide a good level of p
```

####Scheduler stack
- **scheduler_provider** identifies the scheduler stack to use. We support two stacks viz. `native-swarm` and `ucp-swarm`. The first brings-up a swarm cluster using the stock swarm image from dockerhub. The seconds brings-up a ucp cluster which bundles swarm in it.
- **scheduler_provider** identifies the scheduler stack to use. We support three stacks viz. `native-swarm`, `ucp-swarm` and `kubernetes`. The first brings-up a swarm cluster using the stock swarm image from dockerhub. The second brings-up a ucp cluster which bundles swarm in it. And the third brings up a kubernetes cluster using the hyberkube container image.
- **scheduler_provider** is specified as a JSON string
```
{"scheduler_provider": "ucp-swarm"}
Expand Down Expand Up @@ -117,5 +117,13 @@ There are several variables that are made available to provide a good level of p
{"fwd_mode": "routing"}
```

**Following are the relevant variables when `scheduler_provider` is set to `kubernetes`**
- **netplugin_mode** specifies whether netplugin shall operate in docker's libnetwork plugin mode or the cni mode of kubernetes. Netplugin supports two modes viz. `docker` (default) and `kubernetes`
- **netplugin_mode** is specified as a JSON string
```
{"netplugin_mode": "kubernetes"}
```
**Note**: when `scheduler_provider` is set to `kubernetes`, the `netplugin_mode` must be set to `kubernetes`, otherwise it can be left unset.

####Contiv Storage
**TBD**

0 comments on commit 2372969

Please sign in to comment.