Add serviceExternalIPs option for calico installation (#6928)

This commit is contained in:
Andrii
2020-11-25 15:34:39 +02:00
committed by GitHub
parent eb16986f32
commit 8a153ed38e
4 changed files with 24 additions and 0 deletions

View File

@@ -93,6 +93,15 @@ This can be enabled by setting the following variable as follow in group_vars (k
calico_advertise_cluster_ips: true
```
Since calico 3.10, Calico supports advertising Kubernetes service ExternalIPs over BGP in addition to cluster IPs advertising.
This can be enabled by setting the following variable in group_vars (k8s-cluster/k8s-net-calico.yml)
```yml
calico_advertise_service_external_ips:
- x.x.x.x/24
- y.y.y.y/32
```
### Optional : Define global AS number
Optional parameter `global_as_num` defines Calico global AS number (`/calico/bgp/v1/global/as_num` etcd key).