Skip to content

Commit c16eae9

Browse files
Merge pull request #657 from cschwede/uni06zeta-swift-replicas
uni06zeta: Add kustomization values for Swift replicas To properly test EDPM we need to change the replicas for the Swift proxy and storage service as well as the number of replicas within the Swift rings itself. Reviewed-by: John Fulton <[email protected]>
2 parents f533037 + 440cab7 commit c16eae9

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

dt/uni06zeta/kustomization.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,42 @@ replacements:
137137
options:
138138
create: true
139139

140+
- source:
141+
kind: ConfigMap
142+
name: service-values
143+
fieldPath: data.swift.swiftProxy.replicas
144+
targets:
145+
- select:
146+
kind: OpenStackControlPlane
147+
fieldPaths:
148+
- spec.swift.template.swiftProxy.replicas
149+
options:
150+
create: true
151+
152+
- source:
153+
kind: ConfigMap
154+
name: service-values
155+
fieldPath: data.swift.swiftRing.ringReplicas
156+
targets:
157+
- select:
158+
kind: OpenStackControlPlane
159+
fieldPaths:
160+
- spec.swift.template.swiftRing.ringReplicas
161+
options:
162+
create: true
163+
164+
- source:
165+
kind: ConfigMap
166+
name: service-values
167+
fieldPath: data.swift.swiftStorage.replicas
168+
targets:
169+
- select:
170+
kind: OpenStackControlPlane
171+
fieldPaths:
172+
- spec.swift.template.swiftStorage.replicas
173+
options:
174+
create: true
175+
140176
- source:
141177
kind: ConfigMap
142178
name: service-values

examples/dt/uni06zeta/control-plane/service-values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ data:
6161

6262
swift:
6363
enabled: true
64+
swiftProxy:
65+
replicas: 1
66+
swiftStorage:
67+
replicas: 1
68+
swiftRing:
69+
ringReplicas: 1
6470

6571
octavia:
6672
enabled: false

0 commit comments

Comments
 (0)