Enable control plane load balancing for kube-vip (#9785)

Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
pull/9789/head
ERIK 2023-02-13 11:25:28 +08:00 committed by GitHub
parent fe9e11b501
commit 6ff845a199
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 0 deletions

View File

@ -64,3 +64,9 @@ kube_vip_bgppeers:
# kube_vip_bgp_peerpass:
# kube_vip_bgp_peeras:
```
If using [control plane load-balancing](https://kube-vip.io/docs/about/architecture/#control-plane-load-balancing):
```yaml
kube_vip_lb_enable: true
```

View File

@ -87,6 +87,7 @@ kube_vip_bgp_peeras: 65000
kube_vip_bgppeers:
kube_vip_address:
kube_vip_enableServicesElection: false
kube_vip_lb_enable: false
# Requests for load balancer app
loadbalancer_apiserver_memory_requests: 32M

View File

@ -71,6 +71,10 @@ spec:
{% if kube_vip_enableServicesElection %}
- name: enableServicesElection
value: "true"
{% endif %}
{% if kube_vip_lb_enable %}
- name: lb_enable
value: "true"
{% endif %}
image: {{ kube_vip_image_repo }}:{{ kube_vip_image_tag }}
imagePullPolicy: {{ k8s_image_pull_policy }}