Skip to content

Commit

Permalink
Add variable cpu and memory to task microservice
Browse files Browse the repository at this point in the history
  • Loading branch information
Elia Palme committed Dec 19, 2024
1 parent 6b5526b commit d502026
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/k8s/tasks/templates/deploy.tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ spec:
- name: tasks
image: "{{ .Values.global.registry }}/tasks:{{ .Values.global.tag }}"
imagePullPolicy: Always
resources:
limits:
memory: {{ .Values.tasks.F7T_TASKS_MEMORY | default "128Mi" | quote }}
cpu: {{ .Values.tasks.F7T_TASKS_CPU | replace "500m" | quote }}
ports:
- containerPort: {{ .Values.F7T_TASKS_PORT | default 5003 | atoi }}
env:
Expand Down

0 comments on commit d502026

Please sign in to comment.