Skip to content

Commit

Permalink
Update network isolation samples
Browse files Browse the repository at this point in the history
  • Loading branch information
stuggi committed Sep 20, 2023
1 parent 219d7b0 commit a4c68d6
Show file tree
Hide file tree
Showing 4 changed files with 412 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ spec:
- ipAddressPool: ctlplane
loadBalancerIPs:
- 192.168.122.80
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: ctlplane
metallb.universe.tf/allow-shared-ip: ctlplane
metallb.universe.tf/loadBalancerIPs: 192.168.122.80
spec:
type: LoadBalancer
options:
- key: server
values:
Expand All @@ -26,6 +35,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
cinderScheduler:
replicas: 1
cinderBackup:
Expand All @@ -48,6 +67,15 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
networkAttachments:
- storage
glanceAPIExternal:
Expand All @@ -62,6 +90,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
mariadb:
enabled: false
templates:
Expand Down Expand Up @@ -93,6 +131,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
networkAttachments:
- internalapi
horizon:
Expand All @@ -107,13 +155,32 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
secret: osp-secret
metadataServiceTemplate:
externalEndpoints:
- endpoint: internal
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
manila:
template:
manilaAPI:
Expand All @@ -123,6 +190,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
networkAttachments:
- internalapi
manilaScheduler:
Expand Down Expand Up @@ -160,6 +237,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
rabbitmq:
templates:
rabbitmq:
Expand All @@ -168,12 +255,28 @@ spec:
- 172.17.0.85
ipAddressPool: internalapi
sharedIP: false
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.85
spec:
type: LoadBalancer
rabbitmq-cell1:
externalEndpoint:
loadBalancerIPs:
- 172.17.0.86
ipAddressPool: internalapi
sharedIP: false
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.86
spec:
type: LoadBalancer
heat:
enabled: false
template:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ spec:
- ipAddressPool: ctlplane
loadBalancerIPs:
- 192.168.122.80
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: ctlplane
metallb.universe.tf/allow-shared-ip: ctlplane
metallb.universe.tf/loadBalancerIPs: 192.168.122.80
spec:
type: LoadBalancer
options:
- key: server
values:
Expand All @@ -26,6 +35,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
cinderScheduler:
replicas: 1
cinderBackup:
Expand All @@ -48,6 +67,15 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
networkAttachments:
- storage
glanceAPIExternal:
Expand All @@ -62,6 +90,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
mariadb:
enabled: false
templates:
Expand Down Expand Up @@ -93,6 +131,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
networkAttachments:
- internalapi
horizon:
Expand All @@ -107,13 +155,32 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
secret: osp-secret
metadataServiceTemplate:
externalEndpoints:
- endpoint: internal
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
manila:
template:
manilaAPI:
Expand All @@ -123,6 +190,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
networkAttachments:
- internalapi
manilaScheduler:
Expand Down Expand Up @@ -160,6 +237,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
rabbitmq:
templates:
rabbitmq:
Expand All @@ -168,12 +255,28 @@ spec:
- 172.17.0.85
ipAddressPool: internalapi
sharedIP: false
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.85
spec:
type: LoadBalancer
rabbitmq-cell1:
externalEndpoint:
loadBalancerIPs:
- 172.17.0.86
ipAddressPool: internalapi
sharedIP: false
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.86
spec:
type: LoadBalancer
heat:
enabled: false
template:
Expand Down
Loading

0 comments on commit a4c68d6

Please sign in to comment.