Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
df04ef3d
Commit
df04ef3d
authored
May 13, 2022
by
Dominik Hebeler
Browse files
enabled autoscaling for memory
parent
0cb2fbb9
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
chart/templates/hpa.yaml
View file @
df04ef3d
...
...
@@ -18,6 +18,7 @@ spec:
resource
:
name
:
cpu
target
:
type
:
Utilization
averageUtilization
:
{{
.Values.autoscaling.targetCPUUtilizationPercentage
}}
{{
- end
}}
{{
- if .Values.autoscaling.targetMemoryUtilizationPercentage
}}
...
...
@@ -25,6 +26,7 @@ spec:
resource
:
name
:
memory
target
:
type
:
Utilization
averageUtilization
:
{{
.Values.autoscaling.targetMemoryUtilizationPercentage
}}
{{
- end
}}
{{
- end
}}
chart/values.yaml
View file @
df04ef3d
...
...
@@ -101,7 +101,7 @@ autoscaling:
minReplicas
:
2
maxReplicas
:
5
targetCPUUtilizationPercentage
:
80
#
targetMemoryUtilizationPercentage: 80
targetMemoryUtilizationPercentage
:
80
nodeSelector
:
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment