chore: set resource request and limit

This commit is contained in:
Masaki Yatsu
2025-11-13 18:10:15 +09:00
parent 0ff24310ce
commit c0684b4645
13 changed files with 573 additions and 27 deletions

View File

@@ -52,6 +52,40 @@ langfuse:
tls:
enabled: true
# Resource configuration based on Goldilocks/VPA recommendations
# CPU limits increased to handle startup spikes
web:
resources:
requests:
cpu: 15m
memory: 704Mi
limits:
cpu: 100m
memory: 1.5Gi
# Probe configuration adjusted for slow startup and response time
livenessProbe:
initialDelaySeconds: 60
timeoutSeconds: 30
failureThreshold: 5
readinessProbe:
initialDelaySeconds: 60
timeoutSeconds: 30
failureThreshold: 5
worker:
resources:
requests:
cpu: 15m
memory: 512Mi
limits:
cpu: 100m
memory: 1Gi
# Probe configuration adjusted for slow startup
livenessProbe:
initialDelaySeconds: 60
timeoutSeconds: 30
failureThreshold: 5
postgresql:
deploy: false