mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-01 09:38:12 -03:30
Enable control plane load balancing for kube-vip (#9785)
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user