Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
4543bbaa
Commit
4543bbaa
authored
3 years ago
by
Simon Ehrenstein
Browse files
Options
Downloads
Patches
Plain Diff
Closes
#372
parent
6e8a8f83
No related branches found
No related tags found
1 merge request
!258
Add nodeSelector feature for Strimzi Kafka and Zookeeper
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
helm/templates/kafka/kafka-cluster.yaml
+19
-1
19 additions, 1 deletion
helm/templates/kafka/kafka-cluster.yaml
helm/values.yaml
+13
-0
13 additions, 0 deletions
helm/values.yaml
with
32 additions
and
1 deletion
helm/templates/kafka/kafka-cluster.yaml
+
19
−
1
View file @
4543bbaa
...
@@ -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
:
{}
...
...
This diff is collapsed.
Click to expand it.
helm/values.yaml
+
13
−
0
View file @
4543bbaa
...
@@ -173,6 +173,12 @@ strimzi:
...
@@ -173,6 +173,12 @@ strimzi:
jvmOptions
:
jvmOptions
:
"
-Xmx"
:
"
512M"
"
-Xmx"
:
"
512M"
"
-Xms"
:
"
512M"
"
-Xms"
:
"
512M"
nodeSelectorTerms
:
-
matchExpressions
:
-
key
:
env
operator
:
In
values
:
-
prod
zookeeper
:
zookeeper
:
replicas
:
3
replicas
:
3
zooEntrance
:
zooEntrance
:
...
@@ -180,6 +186,13 @@ strimzi:
...
@@ -180,6 +186,13 @@ strimzi:
zookeeperClient
:
zookeeperClient
:
enabled
:
true
enabled
:
true
nodeSelector
:
{}
nodeSelector
:
{}
nodeSelectorTerms
:
-
matchExpressions
:
-
key
:
env
operator
:
In
values
:
-
prod
topicOperator
:
topicOperator
:
enabled
:
true
enabled
:
true
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment