Skip to content
Snippets Groups Projects
Commit a93fa117 authored by andree.klattenhoff's avatar andree.klattenhoff
Browse files

Add support to set cpu/memory resources for updater

parent b39ced48
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,14 @@ core-ui-middleware:
cpu: 100m
memory: 384Mi
updater:
resources:
limits:
memory: 384Mi
requests:
cpu: 100m
memory: 384Mi
appsuite:
core-ui-middleware:
enabled: false
......
......@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.0.0
version: 3.0.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
......
......@@ -135,7 +135,7 @@ spec:
- name: REDIS_PREFIX
value: "{{ .Values.redis.prefix }}"
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- toYaml .Values.updater.resources | nindent 12 }}
volumeMounts:
- name: manifest-config
mountPath: /app/config/
......
......@@ -78,7 +78,7 @@ spec:
{{- omit .Values.probe.readiness "enabled" | toYaml | nindent 12 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- toYaml .Values.updater.resources | nindent 12 }}
volumeMounts:
- name: manifest-config
mountPath: /app/config/
......
......@@ -78,6 +78,15 @@ resources:
cpu: 500m
memory: 196Mi
updater:
resources:
# We recommend to not define a cpu limit for this pod. This pod runs compression of many files in a short time frame.
limits:
memory: 768Mi
requests:
cpu: 100m
memory: 196Mi
autoscaling:
enabled: false
minReplicas: 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment