Enable control plane load balancing for kube-vip (#9785)
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>pull/9789/head
parent
fe9e11b501
commit
6ff845a199
|
@ -64,3 +64,9 @@ kube_vip_bgppeers:
|
||||||
# kube_vip_bgp_peerpass:
|
# kube_vip_bgp_peerpass:
|
||||||
# kube_vip_bgp_peeras:
|
# 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_bgppeers:
|
||||||
kube_vip_address:
|
kube_vip_address:
|
||||||
kube_vip_enableServicesElection: false
|
kube_vip_enableServicesElection: false
|
||||||
|
kube_vip_lb_enable: false
|
||||||
|
|
||||||
# Requests for load balancer app
|
# Requests for load balancer app
|
||||||
loadbalancer_apiserver_memory_requests: 32M
|
loadbalancer_apiserver_memory_requests: 32M
|
||||||
|
|
|
@ -71,6 +71,10 @@ spec:
|
||||||
{% if kube_vip_enableServicesElection %}
|
{% if kube_vip_enableServicesElection %}
|
||||||
- name: enableServicesElection
|
- name: enableServicesElection
|
||||||
value: "true"
|
value: "true"
|
||||||
|
{% endif %}
|
||||||
|
{% if kube_vip_lb_enable %}
|
||||||
|
- name: lb_enable
|
||||||
|
value: "true"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
image: {{ kube_vip_image_repo }}:{{ kube_vip_image_tag }}
|
image: {{ kube_vip_image_repo }}:{{ kube_vip_image_tag }}
|
||||||
imagePullPolicy: {{ k8s_image_pull_policy }}
|
imagePullPolicy: {{ k8s_image_pull_policy }}
|
||||||
|
|
Loading…
Reference in New Issue