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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
1617f61e
Commit
1617f61e
authored
Apr 14, 2023
by
Sören Henning
Browse files
Options
Downloads
Patches
Plain Diff
Make Theodolite CPU/memory resources configurable
parent
60846810
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
helm/templates/theodolite/theodolite-operator.yaml
+16
-24
16 additions, 24 deletions
helm/templates/theodolite/theodolite-operator.yaml
helm/values.yaml
+30
-0
30 additions, 0 deletions
helm/values.yaml
with
46 additions
and
24 deletions
helm/templates/theodolite/theodolite-operator.yaml
+
16
−
24
View file @
1617f61e
...
@@ -31,13 +31,10 @@ spec:
...
@@ -31,13 +31,10 @@ spec:
volumeMounts
:
volumeMounts
:
-
name
:
theodolite-results-volume
-
name
:
theodolite-results-volume
mountPath
:
"
/deployments/results"
mountPath
:
"
/deployments/results"
{{
- with .Values.operator.resources
}}
resources
:
resources
:
requests
:
{{
- toYaml . | nindent 12
}}
memory
:
"
512Mi"
{{
- end
}}
cpu
:
"
250m"
limits
:
memory
:
"
1024Mi"
cpu
:
"
500m"
{{
- if .Values.operator.sloChecker.generic.enabled
}}
{{
- if .Values.operator.sloChecker.generic.enabled
}}
-
name
:
slo-checker-generic
-
name
:
slo-checker-generic
image
:
"
{{
.Values.operator.sloChecker.generic.image
}}:{{
.Values.operator.sloChecker.generic.imageTag
}}"
image
:
"
{{
.Values.operator.sloChecker.generic.image
}}:{{
.Values.operator.sloChecker.generic.imageTag
}}"
...
@@ -50,13 +47,10 @@ spec:
...
@@ -50,13 +47,10 @@ spec:
value
:
"
8082"
value
:
"
8082"
-
name
:
LOG_LEVEL
-
name
:
LOG_LEVEL
value
:
INFO
value
:
INFO
{{
- with .Values.operator.sloChecker.generic.resources
}}
resources
:
resources
:
requests
:
{{
- toYaml . | nindent 12
}}
memory
:
"
64Mi"
{{
- end
}}
cpu
:
"
50m"
limits
:
memory
:
"
128Mi"
cpu
:
"
100m"
{{
- end
}}
{{
- end
}}
{{
- if .Values.operator.sloChecker.lagTrend.enabled
}}
{{
- if .Values.operator.sloChecker.lagTrend.enabled
}}
-
name
:
lag-trend-slo-checker
-
name
:
lag-trend-slo-checker
...
@@ -68,13 +62,10 @@ spec:
...
@@ -68,13 +62,10 @@ spec:
env
:
env
:
-
name
:
LOG_LEVEL
-
name
:
LOG_LEVEL
value
:
INFO
value
:
INFO
{{
- with .Values.operator.sloChecker.lagTrend.resources
}}
resources
:
resources
:
requests
:
{{
- toYaml . | nindent 12
}}
memory
:
"
64Mi"
{{
- end
}}
cpu
:
"
50m"
limits
:
memory
:
"
128Mi"
cpu
:
"
100m"
{{
- end
}}
{{
- end
}}
{{
- if .Values.operator.sloChecker.droppedRecordsKStreams.enabled
}}
{{
- if .Values.operator.sloChecker.droppedRecordsKStreams.enabled
}}
-
name
:
slo-checker-dropped-records-kstreams
-
name
:
slo-checker-dropped-records-kstreams
...
@@ -88,13 +79,10 @@ spec:
...
@@ -88,13 +79,10 @@ spec:
value
:
"
8081"
value
:
"
8081"
-
name
:
LOG_LEVEL
-
name
:
LOG_LEVEL
value
:
INFO
value
:
INFO
{{
- with .Values.operator.sloChecker.droppedRecordsKStreams.resources
}}
resources
:
resources
:
requests
:
{{
- toYaml . | nindent 12
}}
memory
:
"
64Mi"
{{
- end
}}
cpu
:
"
50m"
limits
:
memory
:
"
128Mi"
cpu
:
"
100m"
{{
- end
}}
{{
- end
}}
{{
- if .Values.operator.resultsVolume.accessSidecar.enabled
}}
{{
- if .Values.operator.resultsVolume.accessSidecar.enabled
}}
-
name
:
results-access
-
name
:
results-access
...
@@ -108,6 +96,10 @@ spec:
...
@@ -108,6 +96,10 @@ spec:
volumeMounts
:
volumeMounts
:
-
mountPath
:
/results
-
mountPath
:
/results
name
:
theodolite-results-volume
name
:
theodolite-results-volume
{{
- with .Values.operator.resultsVolume.accessSidecar.resources
}}
resources
:
{{
- toYaml . | nindent 12
}}
{{
- end
}}
{{
- end
}}
{{
- end
}}
volumes
:
volumes
:
-
name
:
theodolite-results-volume
-
name
:
theodolite-results-volume
...
...
This diff is collapsed.
Click to expand it.
helm/values.yaml
+
30
−
0
View file @
1617f61e
...
@@ -311,22 +311,51 @@ operator:
...
@@ -311,22 +311,51 @@ operator:
nodeSelector
:
{}
nodeSelector
:
{}
resources
:
requests
:
memory
:
"
512Mi"
cpu
:
"
250m"
limits
:
memory
:
"
1024Mi"
cpu
:
"
500m"
sloChecker
:
sloChecker
:
generic
:
generic
:
enabled
:
true
enabled
:
true
image
:
ghcr.io/cau-se/theodolite-slo-checker-generic
image
:
ghcr.io/cau-se/theodolite-slo-checker-generic
imageTag
:
v0.8.5
imageTag
:
v0.8.5
imagePullPolicy
:
IfNotPresent
imagePullPolicy
:
IfNotPresent
resources
:
requests
:
memory
:
"
64Mi"
cpu
:
"
50m"
limits
:
memory
:
"
128Mi"
cpu
:
"
100m"
lagTrend
:
lagTrend
:
enabled
:
true
enabled
:
true
image
:
ghcr.io/cau-se/theodolite-slo-checker-lag-trend
image
:
ghcr.io/cau-se/theodolite-slo-checker-lag-trend
imageTag
:
v0.8.5
imageTag
:
v0.8.5
imagePullPolicy
:
IfNotPresent
imagePullPolicy
:
IfNotPresent
resources
:
requests
:
memory
:
"
64Mi"
cpu
:
"
50m"
limits
:
memory
:
"
128Mi"
cpu
:
"
100m"
droppedRecordsKStreams
:
droppedRecordsKStreams
:
enabled
:
false
enabled
:
false
image
:
ghcr.io/cau-se/theodolite-slo-checker-dropped-records-kstreams
image
:
ghcr.io/cau-se/theodolite-slo-checker-dropped-records-kstreams
imageTag
:
v0.8.5
imageTag
:
v0.8.5
imagePullPolicy
:
IfNotPresent
imagePullPolicy
:
IfNotPresent
resources
:
requests
:
memory
:
"
64Mi"
cpu
:
"
50m"
limits
:
memory
:
"
128Mi"
cpu
:
"
100m"
resultsVolume
:
resultsVolume
:
persistent
:
persistent
:
...
@@ -341,6 +370,7 @@ operator:
...
@@ -341,6 +370,7 @@ operator:
image
:
busybox
image
:
busybox
imageTag
:
stable
imageTag
:
stable
imagePullPolicy
:
IfNotPresent
imagePullPolicy
:
IfNotPresent
#resources: {}
theodoliteBenchmarks
:
theodoliteBenchmarks
:
resourceConfigMaps
:
resourceConfigMaps
:
...
...
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
sign in
to comment