add one additional private address-pool

This commit is contained in:
jerger 2022-11-25 13:15:54 +01:00
parent 874cd7ee22
commit ed33c1b0c2
3 changed files with 14 additions and 4 deletions

View file

@ -6,8 +6,13 @@ metadata:
data:
config: |
address-pools:
- name: default
- name: public
protocol: layer2
addresses:
- ${node_ipv4}/32
- ${node_ipv6}/128
- name: private
protocol: layer2
addresses:
- ${loopback_ipv4}/32
- ${loopback_ipv6}/128

View file

@ -6,7 +6,11 @@ metadata:
data:
config: |
address-pools:
- name: default
- name: public
protocol: layer2
addresses:
- ${node_ipv4}/32
- name: private
protocol: layer2
addresses:
- ${loopback_ipv4}/32

View file

@ -48,6 +48,7 @@ spec:
ipFamilyPolicy: "PreferDualStack"
annotations:
metallb.universe.tf/allow-shared-ip: "shared-ip-service-group"
metallb.universe.tf/address-pool: public
spec:
type: LoadBalancer
externalTrafficPolicy: Cluster