Skip to content
Snippets Groups Projects

Add nodeSelector feature for Strimzi Kafka and Zookeeper

All threads resolved!
2 files
+ 23
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -30,6 +30,15 @@ spec:
@@ -30,6 +30,15 @@ spec:
configMapKeyRef:
configMapKeyRef:
name: {{ template "theodolite.fullname" . }}-kafka-metrics
name: {{ template "theodolite.fullname" . }}-kafka-metrics
key: kafka-metrics-config.yml
key: kafka-metrics-config.yml
 
{{- with .Values.strimzi.kafka.nodeSelectorTerms}}
 
template:
 
pod:
 
affinity:
 
nodeAffinity:
 
requiredDuringSchedulingIgnoredDuringExecution:
 
nodeSelectorTerms:
 
{{- toYaml . | nindent 16 }}
 
{{- end}}
zookeeper:
zookeeper:
{{- with .Values.strimzi.zookeeper.replicas }}
{{- with .Values.strimzi.zookeeper.replicas }}
@@ -37,7 +46,16 @@ spec:
@@ -37,7 +46,16 @@ spec:
{{- toYaml . | nindent 6 }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- end }}
storage:
storage:
type: ephemeral
type: ephemeral
 
{{- with .Values.strimzi.zookeeper.nodeSelectorTerms}}
 
template:
 
pod:
 
affinity:
 
nodeAffinity:
 
requiredDuringSchedulingIgnoredDuringExecution:
 
nodeSelectorTerms:
 
{{- toYaml . | nindent 16 }}
 
{{- end}}
kafkaExporter: {}
kafkaExporter: {}
Loading