Make beat resources configurable

This commit is contained in:
David Burke 2022-08-24 14:18:10 -04:00
parent 383f70c898
commit 44ed6ba81f
3 changed files with 11 additions and 9 deletions

View file

@ -14,7 +14,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.
version: 0.2.1
version: 0.2.2
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
@ -22,10 +22,10 @@ appVersion: 1.0.0
dependencies:
- name: postgresql
version: ~11.7.2
version: ~11.8.1
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
- name: redis
version: ~17.0.11
version: ~17.1.2
repository: https://charts.bitnami.com/bitnami
condition: redis.enabled

View file

@ -39,12 +39,7 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
resources:
limits:
cpu: 50m
memory: 96Mi
requests:
cpu: 1m
memory: 32Mi
{{- toYaml .Values.web.resources | nindent 12 }}
env:
- name: SERVER_ROLE
value: "beat"

View file

@ -103,6 +103,13 @@ worker:
beat:
enabled: true
resources:
limits:
cpu: 100m
memory: 120Mi
requests:
cpu: 1m
memory: 90Mi
nodeSelector: {}
tolerations: []
affinity: {}