Skip to content

Commit

Permalink
Uniformize Kafkanodepool node IDs
Browse files Browse the repository at this point in the history
- Assign node IDs 3,4,5 to controllers. IDs 0,1,2 to brokers deployed on default storage and IDs 6,7,8 to brokers deployed on local storage.
  • Loading branch information
afausti committed Feb 12, 2025
1 parent ea58172 commit 35d2ada
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ metadata:
name: controller
labels:
strimzi.io/cluster: {{ .Values.cluster.name }}
{{- with .Values.kafkaController.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
strimzi.io/next-node-ids: "[3,4,5]"
spec:
replicas: {{ .Values.kafka.replicas }}
roles:
Expand Down Expand Up @@ -37,7 +35,7 @@ metadata:
labels:
strimzi.io/cluster: {{ .Values.cluster.name }}
annotations:
strimzi.io/next-node-ids: "[0-99]"
strimzi.io/next-node-ids: "[0,1,2]"
spec:
replicas: {{ .Values.kafka.replicas }}
roles:
Expand Down Expand Up @@ -66,7 +64,7 @@ metadata:
labels:
strimzi.io/cluster: {{ .Values.cluster.name }}
annotations:
strimzi.io/next-node-ids: "[6-99]"
strimzi.io/next-node-ids: "[6,7,8]"
spec:
replicas: {{ .Values.kafka.replicas }}
roles:
Expand Down
2 changes: 0 additions & 2 deletions applications/sasquatch/values-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ strimzi-kafka:
enabled: true
kafkaController:
enabled: true
annotations:
strimzi.io/next-node-ids: "(3,4,5)"
resources:
requests:
memory: 8Gi
Expand Down
2 changes: 0 additions & 2 deletions applications/sasquatch/values-summit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ strimzi-kafka:
enabled: true
kafkaController:
enabled: true
annotations:
strimzi.io/next-node-ids: "(3,4,5)"
resources:
requests:
memory: 8Gi
Expand Down

0 comments on commit 35d2ada

Please sign in to comment.