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: ...@@ -27,6 +27,14 @@ core-ui-middleware:
cpu: 100m cpu: 100m
memory: 384Mi memory: 384Mi
updater:
resources:
limits:
memory: 384Mi
requests:
cpu: 100m
memory: 384Mi
appsuite: appsuite:
core-ui-middleware: core-ui-middleware:
enabled: false enabled: false
......
...@@ -15,7 +15,7 @@ type: application ...@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # 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 # 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 # incremented each time you make changes to the application. Versions are not expected to
......
...@@ -135,7 +135,7 @@ spec: ...@@ -135,7 +135,7 @@ spec:
- name: REDIS_PREFIX - name: REDIS_PREFIX
value: "{{ .Values.redis.prefix }}" value: "{{ .Values.redis.prefix }}"
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.updater.resources | nindent 12 }}
volumeMounts: volumeMounts:
- name: manifest-config - name: manifest-config
mountPath: /app/config/ mountPath: /app/config/
......
...@@ -78,7 +78,7 @@ spec: ...@@ -78,7 +78,7 @@ spec:
{{- omit .Values.probe.readiness "enabled" | toYaml | nindent 12 }} {{- omit .Values.probe.readiness "enabled" | toYaml | nindent 12 }}
{{- end }} {{- end }}
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.updater.resources | nindent 12 }}
volumeMounts: volumeMounts:
- name: manifest-config - name: manifest-config
mountPath: /app/config/ mountPath: /app/config/
......
...@@ -78,6 +78,15 @@ resources: ...@@ -78,6 +78,15 @@ resources:
cpu: 500m cpu: 500m
memory: 196Mi 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: autoscaling:
enabled: false enabled: false
minReplicas: 1 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