add one additional private address-pool
This commit is contained in:
parent
874cd7ee22
commit
ed33c1b0c2
3 changed files with 14 additions and 4 deletions
|
@ -6,8 +6,13 @@ metadata:
|
||||||
data:
|
data:
|
||||||
config: |
|
config: |
|
||||||
address-pools:
|
address-pools:
|
||||||
- name: default
|
- name: public
|
||||||
protocol: layer2
|
protocol: layer2
|
||||||
addresses:
|
addresses:
|
||||||
- ${node_ipv4}/32
|
- ${node_ipv4}/32
|
||||||
- ${node_ipv6}/128
|
- ${node_ipv6}/128
|
||||||
|
- name: private
|
||||||
|
protocol: layer2
|
||||||
|
addresses:
|
||||||
|
- ${loopback_ipv4}/32
|
||||||
|
- ${loopback_ipv6}/128
|
|
@ -6,7 +6,11 @@ metadata:
|
||||||
data:
|
data:
|
||||||
config: |
|
config: |
|
||||||
address-pools:
|
address-pools:
|
||||||
- name: default
|
- name: public
|
||||||
protocol: layer2
|
protocol: layer2
|
||||||
addresses:
|
addresses:
|
||||||
- ${node_ipv4}/32
|
- ${node_ipv4}/32
|
||||||
|
- name: private
|
||||||
|
protocol: layer2
|
||||||
|
addresses:
|
||||||
|
- ${loopback_ipv4}/32
|
|
@ -48,6 +48,7 @@ spec:
|
||||||
ipFamilyPolicy: "PreferDualStack"
|
ipFamilyPolicy: "PreferDualStack"
|
||||||
annotations:
|
annotations:
|
||||||
metallb.universe.tf/allow-shared-ip: "shared-ip-service-group"
|
metallb.universe.tf/allow-shared-ip: "shared-ip-service-group"
|
||||||
|
metallb.universe.tf/address-pool: public
|
||||||
spec:
|
spec:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
externalTrafficPolicy: Cluster
|
externalTrafficPolicy: Cluster
|
||||||
|
|
Loading…
Reference in a new issue