BGP peering and loadbalancing vars are managed in a group_vars file

This commit is contained in:
Smaine Kahlouch 2015-12-15 17:16:19 +01:00
parent 9649f2779d
commit f2069b296c

View file

@ -106,14 +106,6 @@ In node-mesh mode the nodes peers with all the nodes in order to exchange routes
[k8s-cluster:children]
kube-node
kube-master
[paris:vars]
peers=[{"router_id": "10.99.0.2", "as": "65xxx"}, {"router_id": "10.99.0.3", "as": "65xxx"}]
loadbalancer_address="10.99.0.24"
[usa:vars]
peers=[{"router_id": "10.99.0.34", "as": "65xxx"}, {"router_id": "10.99.0.35", "as": "65xxx"}]
loadbalancer_address="10.99.0.44"
```
### Playbook
@ -162,6 +154,9 @@ the server address has to be present on both groups 'kube-master' and 'kube-node
* One etcd cluster member per node will be configured. For safety reasons, you should have at least two master nodes.
* Kube-proxy doesn't support multiple apiservers on startup ([#18174]('https://github.com/kubernetes/kubernetes/issues/18174')). An external loadbalancer needs to be configured.
In order to do so, some variables have to be used '**loadbalancer_apiserver**' and '**apiserver_loadbalancer_domain_name**'
### Network Overlay
You can choose between 2 network plugins. Only one must be chosen.