Skip to content
Snippets Groups Projects
Unverified Commit 6ff845a1 authored by ERIK's avatar ERIK Committed by GitHub
Browse files

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


Signed-off-by: default avatarbo.jiang <bo.jiang@daocloud.io>
parent fe9e11b5
No related branches found
No related tags found
No related merge requests found
......@@ -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
```
......@@ -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
......
......@@ -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 }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment