metallb: exclude masters from bgp announcing
This commit is contained in:
parent
8b31b52dc3
commit
74a56e6bb8
@ -31,6 +31,10 @@ metallb_bgp_definitions:
|
|||||||
- "{{ metallb_pool_name }}"
|
- "{{ metallb_pool_name }}"
|
||||||
aggregationLength: {{ metallb_bgp_aggregation_length }}
|
aggregationLength: {{ metallb_bgp_aggregation_length }}
|
||||||
localpref: {{ metallb_bgp_localpref }}
|
localpref: {{ metallb_bgp_localpref }}
|
||||||
|
nodeSelectors:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: node-role.kubernetes.io/control-plane
|
||||||
|
operator: DoesNotExist
|
||||||
|
|
||||||
metallb_peer: |
|
metallb_peer: |
|
||||||
apiVersion: metallb.io/v1beta2
|
apiVersion: metallb.io/v1beta2
|
||||||
@ -63,3 +67,7 @@ metallb_l2_definitions:
|
|||||||
spec:
|
spec:
|
||||||
ipAddressPools:
|
ipAddressPools:
|
||||||
- "{{ metallb_pool_name }}"
|
- "{{ metallb_pool_name }}"
|
||||||
|
nodeSelectors:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: node-role.kubernetes.io/control-plane
|
||||||
|
operator: DoesNotExist
|
||||||
|
Loading…
x
Reference in New Issue
Block a user