Add more config to README.md
Add resolvconf_mode and cloud_provider config description to README.mdpull/1428/head
parent
442be2ac02
commit
f3165a716a
|
@ -109,7 +109,7 @@ Edit `inventory/group_vars/all.yml`:
|
||||||
# Valid bootstrap options (required): ubuntu, coreos, centos, none
|
# Valid bootstrap options (required): ubuntu, coreos, centos, none
|
||||||
bootstrap_os: coreos
|
bootstrap_os: coreos
|
||||||
```
|
```
|
||||||
- And **bin_dir**
|
- **bin_dir**
|
||||||
```
|
```
|
||||||
# Directory where the binaries will be installed
|
# Directory where the binaries will be installed
|
||||||
# Default:
|
# Default:
|
||||||
|
@ -117,6 +117,10 @@ bootstrap_os: coreos
|
||||||
# For Container Linux by CoreOS:
|
# For Container Linux by CoreOS:
|
||||||
bin_dir: /opt/bin
|
bin_dir: /opt/bin
|
||||||
```
|
```
|
||||||
|
- and **cloud_provider**
|
||||||
|
```
|
||||||
|
cloud_provider: openstack
|
||||||
|
```
|
||||||
Edit `inventory/group_vars/k8s-cluster.yml`:
|
Edit `inventory/group_vars/k8s-cluster.yml`:
|
||||||
- Set variable **kube_network_plugin** according selected networking
|
- Set variable **kube_network_plugin** according selected networking
|
||||||
```
|
```
|
||||||
|
@ -127,9 +131,16 @@ kube_network_plugin: flannel
|
||||||
> flannel works out-of-the-box
|
> flannel works out-of-the-box
|
||||||
|
|
||||||
> calico requires allowing service's and pod's subnets on according OpenStack Neutron ports
|
> 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:
|
For calico configure OpenStack Neutron ports: [OpenStack](/docs/openstack.md)
|
||||||
[OpenStack](/docs/openstack.md)
|
|
||||||
|
|
||||||
# Provision a Kubernetes Cluster on OpenStack
|
# Provision a Kubernetes Cluster on OpenStack
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue