Browse Source

Add more config to README.md

Add resolvconf_mode and cloud_provider config description to README.md
pull/1428/head
Alexander Chumakov 7 years ago
committed by GitHub
parent
commit
f3165a716a
1 changed files with 14 additions and 3 deletions
  1. 17
      contrib/terraform/openstack/README.md

17
contrib/terraform/openstack/README.md

@ -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

Loading…
Cancel
Save