Skip to content

Commit

Permalink
[Designate] Add Bind9 storageRequest and replica count
Browse files Browse the repository at this point in the history
After DesignateBackendBind9 was changed to a stateful set, Designate
requires a persistent volume claim.

This patch adds the pvc value to the control plane definition, and
requires a replica count minimum of at least 1.
  • Loading branch information
omersch381 committed Oct 24, 2024
1 parent aed1395 commit 775efbf
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,14 @@ spec:
designateAPI:
replicas: 1
designateCentral:
replicas: 0 # backend needs to be configured
replicas: 1 # backend needs to be configured
designateWorker:
replicas: 0 # backend needs to be configured
replicas: 1 # backend needs to be configured
designateProducer:
replicas: 0 # backend needs to be configured
replicas: 1 # backend needs to be configured
designateMdns:
replicas: 0 # backend needs to be configured
designateBackendbind9:
replicas: 0 # backend needs to be configured
replicas: 1 # backend needs to be configured
storageClass: local-storage
storageRequest: 10G
8 changes: 5 additions & 3 deletions config/samples/core_v1beta1_openstackcontrolplane_galera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -215,16 +215,18 @@ spec:
designateCentral:
replicas: 1
designateWorker:
replicas: 0
replicas: 1
networkAttachments:
- designate
designateProducer:
replicas: 0
replicas: 1
designateMdns:
replicas: 0
networkAttachments:
- designate
designateBackendbind9:
replicas: 0
replicas: 1
storageClass: local-storage
storageRequest: 10G
networkAttachments:
- designate
Original file line number Diff line number Diff line change
Expand Up @@ -200,16 +200,18 @@ spec:
designateCentral:
replicas: 1
designateWorker:
replicas: 0
replicas: 1
networkAttachments:
- designate
designateProducer:
replicas: 0
replicas: 1
designateMdns:
replicas: 0
networkAttachments:
- designate
designateBackendbind9:
replicas: 0
replicas: 1
storageClass: local-storage
storageRequest: 10G
networkAttachments:
- designate
Original file line number Diff line number Diff line change
Expand Up @@ -402,16 +402,18 @@ spec:
designateCentral:
replicas: 1
designateWorker:
replicas: 0
replicas: 1
networkAttachments:
- designate
designateProducer:
replicas: 0
replicas: 1
designateMdns:
replicas: 0
networkAttachments:
- designate
designateBackendbind9:
replicas: 0
replicas: 1
storageClass: local-storage
storageRequest: 10G
networkAttachments:
- designate
Original file line number Diff line number Diff line change
Expand Up @@ -404,16 +404,18 @@ spec:
designateCentral:
replicas: 1
designateWorker:
replicas: 0
replicas: 1
networkAttachments:
- designate
designateProducer:
replicas: 0
replicas: 1
designateMdns:
replicas: 0
networkAttachments:
- designate
designateBackendbind9:
replicas: 0
replicas: 1
storageClass: local-storage
storageRequest: 10G
networkAttachments:
- designate
Original file line number Diff line number Diff line change
Expand Up @@ -398,16 +398,18 @@ spec:
designateCentral:
replicas: 1
designateWorker:
replicas: 0
replicas: 1
networkAttachments:
- designate
designateProducer:
replicas: 0
replicas: 1
designateMdns:
replicas: 0
networkAttachments:
- designate
designateBackendbind9:
replicas: 0
replicas: 1
storageClass: local-storage
storageRequest: 10G
networkAttachments:
- designate
Original file line number Diff line number Diff line change
Expand Up @@ -434,16 +434,18 @@ spec:
designateCentral:
replicas: 1
designateWorker:
replicas: 0
replicas: 1
networkAttachments:
- designate
designateProducer:
replicas: 0
replicas: 1
designateMdns:
replicas: 0
networkAttachments:
- designate
designateBackendbind9:
replicas: 0
replicas: 1
storageClass: local-storage
storageRequest: 10G
networkAttachments:
- designate
Original file line number Diff line number Diff line change
Expand Up @@ -401,16 +401,18 @@ spec:
designateCentral:
replicas: 1
designateWorker:
replicas: 0
replicas: 1
networkAttachments:
- designate
designateProducer:
replicas: 0
replicas: 1
designateMdns:
replicas: 0
networkAttachments:
- designate
designateBackendbind9:
replicas: 0
replicas: 1
storageClass: local-storage
storageRequest: 10G
networkAttachments:
- designate

0 comments on commit 775efbf

Please sign in to comment.