mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
chore: increase livenessProbe and readinessProbe timeouts
- our litellm deployment keeps restarting because the pods fail readiness and liveness probes - the default in k8s is 1s, the pod isn't always able to respond it time - it seems to happen particularly often when the process flushes spend logs to the database
This commit is contained in:
parent
db857c74d4
commit
522da2be8a
1 changed files with 2 additions and 0 deletions
|
@ -120,10 +120,12 @@ spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /health/liveliness
|
path: /health/liveliness
|
||||||
port: http
|
port: http
|
||||||
|
timeoutSeconds: 10
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /health/readiness
|
path: /health/readiness
|
||||||
port: http
|
port: http
|
||||||
|
timeoutSeconds: 10
|
||||||
# Give the container time to start up. Up to 5 minutes (10 * 30 seconds)
|
# Give the container time to start up. Up to 5 minutes (10 * 30 seconds)
|
||||||
startupProbe:
|
startupProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue