Skip to content

Commit cd4db0d

Browse files
committed
update camunda.cluster section
1 parent fe824d4 commit cd4db0d

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

charts/camunda-platform-8.8/templates/orchestration/files/_application-unified.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ camunda:
2929
upgrade:
3030
enable-version-check: true
3131

32+
cluster:
33+
# The Node ID depends on the StatefulSet Pod's name so it cannot be templated in the StatefulSet level.
34+
# The value of "node-id" is calculated in the "startup.sh" file and exported as "VALUES_ORCHESTRATION_NODE_ID" env var.
35+
node-id: ${VALUES_ORCHESTRATION_NODE_ID}
36+
cluster-size: {{ .Values.orchestration.clusterSize | quote }}
37+
replication-factor: {{ .Values.orchestration.replicationFactor | quote }}
38+
partitions-count: {{ .Values.orchestration.partitionCount | quote }}
39+
3240
api:
3341
grpc:
3442
address: 0.0.0.0
@@ -210,16 +218,10 @@ zeebe:
210218

211219
# zeebe.broker.cluster
212220
cluster:
213-
# The Node ID depends on the StatefulSet Pod's name so it cannot be templated in the StatefulSet level.
214-
# The value of "nodeId" is calculated in the "startup.sh" file and exported as "VALUES_ORCHESTRATION_NODE_ID" env var.
215-
nodeId: ${VALUES_ORCHESTRATION_NODE_ID}
216221
initialContactPoints:
217222
{{- range (untilStep 0 (int .Values.orchestration.clusterSize) 1) }}
218223
- {{ include "orchestration.fullname" $ }}-{{ . }}.${K8S_SERVICE_NAME}:{{$.Values.orchestration.service.internalPort}}
219224
{{- end }}
220-
clusterSize: {{ .Values.orchestration.clusterSize | quote }}
221-
replicationFactor: {{ .Values.orchestration.replicationFactor | quote }}
222-
partitionsCount: {{ .Values.orchestration.partitionCount | quote }}
223225
clusterName: {{ tpl .Values.global.zeebeClusterName . }}
224226

225227
# zeebe.broker.exporters

charts/camunda-platform-8.8/test/unit/orchestration/golden/configmap-unified.golden.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ data:
5050
upgrade:
5151
enable-version-check: true
5252
53+
cluster:
54+
# The Node ID depends on the StatefulSet Pod's name so it cannot be templated in the StatefulSet level.
55+
# The value of "node-id" is calculated in the "startup.sh" file and exported as "VALUES_ORCHESTRATION_NODE_ID" env var.
56+
node-id: ${VALUES_ORCHESTRATION_NODE_ID}
57+
cluster-size: "3"
58+
replication-factor: "3"
59+
partitions-count: "3"
60+
5361
api:
5462
grpc:
5563
address: 0.0.0.0
@@ -149,16 +157,10 @@ data:
149157
150158
# zeebe.broker.cluster
151159
cluster:
152-
# The Node ID depends on the StatefulSet Pod's name so it cannot be templated in the StatefulSet level.
153-
# The value of "nodeId" is calculated in the "startup.sh" file and exported as "VALUES_ORCHESTRATION_NODE_ID" env var.
154-
nodeId: ${VALUES_ORCHESTRATION_NODE_ID}
155160
initialContactPoints:
156161
- camunda-platform-test-zeebe-0.${K8S_SERVICE_NAME}:26502
157162
- camunda-platform-test-zeebe-1.${K8S_SERVICE_NAME}:26502
158163
- camunda-platform-test-zeebe-2.${K8S_SERVICE_NAME}:26502
159-
clusterSize: "3"
160-
replicationFactor: "3"
161-
partitionsCount: "3"
162164
clusterName: camunda-platform-test-zeebe
163165
164166
# zeebe.broker.exporters

0 commit comments

Comments
 (0)