This commit is contained in:
mohittalele 2025-04-24 01:03:22 -07:00 committed by GitHub
commit 81a55bec59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 23 additions and 11 deletions

View file

@ -117,20 +117,12 @@ spec:
containerPort: {{ .Values.service.port }}
protocol: TCP
livenessProbe:
httpGet:
path: /health/liveliness
port: http
{{- .Values.livenessProbe | toYaml | nindent 12 }}
readinessProbe:
httpGet:
path: /health/readiness
port: http
{{- .Values.readinessProbe | toYaml | nindent 12 }}
# Give the container time to start up. Up to 5 minutes (10 * 30 seconds)
startupProbe:
httpGet:
path: /health/readiness
port: http
failureThreshold: 30
periodSeconds: 10
{{- .Values.startupProbe | toYaml | nindent 12 }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:

View file

@ -41,6 +41,26 @@ securityContext: {}
# runAsNonRoot: true
# runAsUser: 1000
# health probes for litellmproxy
livenessProbe:
httpGet:
path: /health/liveliness
port: http
readinessProbe:
httpGet:
path: /health/readiness
port: http
# Give the container time to start up. Up to 5 minutes (10 * 30 seconds)
startupProbe:
httpGet:
path: /health/readiness
port: http
failureThreshold: 30
periodSeconds: 10
# A list of Kubernetes Secret objects that will be exported to the LiteLLM proxy
# pod as environment variables. These secrets can then be referenced in the
# configuration file (or "litellm" ConfigMap) with `os.environ/<Env Var Name>`