Skip to content

Commit

Permalink
add redis resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Elia Palme committed Dec 19, 2024
1 parent cb2ddc2 commit c0bd8a6
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 @@ -30,6 +30,10 @@ spec:
postStart:
exec:
command: ["/bin/sh", "-c", "sleep 10"]
resources:
limits:
memory: {{ .Values.F7T_REDIS_MEMORY | default "128Mi" | quote }}
cpu: {{ .Values.F7T_REDIS_CPU | default "500m" | quote }}
ports:
- containerPort: {{ .Values.F7T_PERSIST_PORT | default 6379 | atoi }}
env:
Expand Down

0 comments on commit c0bd8a6

Please sign in to comment.