infisical: add resource requests and limits to postgres and valkey

Both ran as BestEffort QoS, making them first in line for eviction
under node memory pressure. Requests also give the scheduler real
numbers to place them with.
This commit is contained in:
2026-08-22 16:55:50 +02:00
parent 1a4c765fec
commit c72c6a322e
2 changed files with 12 additions and 0 deletions
@@ -53,6 +53,12 @@ spec:
command: ["sh", "-c", "pg_isready -U $POSTGRES_USER -d $POSTGRES_DB"]
initialDelaySeconds: 30
periodSeconds: 15
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
memory: 512Mi
volumeClaimTemplates:
- metadata:
name: data
@@ -29,6 +29,12 @@ spec:
command: ["valkey-cli", "ping"]
initialDelaySeconds: 5
periodSeconds: 10
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
memory: 256Mi
volumeClaimTemplates:
- metadata:
name: data