Add more config to README.md

Add resolvconf_mode and cloud_provider config description to README.md
pull/1428/head
Alexander Chumakov 2017-07-11 12:46:19 +03:00 committed by GitHub
parent 442be2ac02
commit f3165a716a
1 changed files with 14 additions and 3 deletions

View File

@ -109,7 +109,7 @@ Edit `inventory/group_vars/all.yml`:
# Valid bootstrap options (required): ubuntu, coreos, centos, none
bootstrap_os: coreos
```
- And **bin_dir**
- **bin_dir**
```
# Directory where the binaries will be installed
# Default:
@ -117,6 +117,10 @@ bootstrap_os: coreos
# For Container Linux by CoreOS:
bin_dir: /opt/bin
```
- and **cloud_provider**
```
cloud_provider: openstack
```
Edit `inventory/group_vars/k8s-cluster.yml`:
- Set variable **kube_network_plugin** according selected networking
```
@ -127,9 +131,16 @@ kube_network_plugin: flannel
> flannel works out-of-the-box
> calico requires allowing service's and pod's subnets on according OpenStack Neutron ports
- Set variable **resolvconf_mode**
```
# Can be docker_dns, host_resolvconf or none
# Default:
# resolvconf_mode: docker_dns
# For Container Linux by CoreOS:
resolvconf_mode: host_resolvconf
```
Configure OpenStack Neutron ports:
[OpenStack](/docs/openstack.md)
For calico configure OpenStack Neutron ports: [OpenStack](/docs/openstack.md)
# Provision a Kubernetes Cluster on OpenStack