mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 19:58:07 +03:00
Metallb --lb-class cmd arg to support multiple LoadBalancer implementations (#10550)
* metallb --lb-class cmd arg to support multiple load balancer implementations * removed loadbalancer_class from metallb_config; metallb_loadbalancer_class in role defaults
This commit is contained in:
@@ -13,3 +13,4 @@ metallb_speaker_tolerations:
|
|||||||
key: node-role.kubernetes.io/control-plane
|
key: node-role.kubernetes.io/control-plane
|
||||||
operator: Exists
|
operator: Exists
|
||||||
metallb_controller_tolerations: []
|
metallb_controller_tolerations: []
|
||||||
|
metallb_loadbalancer_class: ""
|
||||||
@@ -1724,6 +1724,9 @@ spec:
|
|||||||
- args:
|
- args:
|
||||||
- --port={{ metallb_port }}
|
- --port={{ metallb_port }}
|
||||||
- --log-level={{ metallb_log_level }}
|
- --log-level={{ metallb_log_level }}
|
||||||
|
{% if metallb_loadbalancer_class != "" %}
|
||||||
|
- --lb-class={{ metallb_loadbalancer_class }}
|
||||||
|
{% endif %}
|
||||||
env:
|
env:
|
||||||
- name: METALLB_ML_SECRET_NAME
|
- name: METALLB_ML_SECRET_NAME
|
||||||
value: memberlist
|
value: memberlist
|
||||||
@@ -1814,6 +1817,9 @@ spec:
|
|||||||
- args:
|
- args:
|
||||||
- --port={{ metallb_port }}
|
- --port={{ metallb_port }}
|
||||||
- --log-level={{ metallb_log_level }}
|
- --log-level={{ metallb_log_level }}
|
||||||
|
{% if metallb_loadbalancer_class != "" %}
|
||||||
|
- --lb-class={{ metallb_loadbalancer_class }}
|
||||||
|
{% endif %}
|
||||||
env:
|
env:
|
||||||
- name: METALLB_NODE_NAME
|
- name: METALLB_NODE_NAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|||||||
Reference in New Issue
Block a user