mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
Merge 44e28ee291
into b82af5b826
This commit is contained in:
commit
81a55bec59
2 changed files with 23 additions and 11 deletions
|
@ -117,20 +117,12 @@ spec:
|
||||||
containerPort: {{ .Values.service.port }}
|
containerPort: {{ .Values.service.port }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
{{- .Values.livenessProbe | toYaml | nindent 12 }}
|
||||||
path: /health/liveliness
|
|
||||||
port: http
|
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
{{- .Values.readinessProbe | toYaml | nindent 12 }}
|
||||||
path: /health/readiness
|
|
||||||
port: http
|
|
||||||
# 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:
|
{{- .Values.startupProbe | toYaml | nindent 12 }}
|
||||||
path: /health/readiness
|
|
||||||
port: http
|
|
||||||
failureThreshold: 30
|
|
||||||
periodSeconds: 10
|
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|
|
@ -41,6 +41,26 @@ securityContext: {}
|
||||||
# runAsNonRoot: true
|
# runAsNonRoot: true
|
||||||
# runAsUser: 1000
|
# 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
|
# 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
|
# pod as environment variables. These secrets can then be referenced in the
|
||||||
# configuration file (or "litellm" ConfigMap) with `os.environ/<Env Var Name>`
|
# configuration file (or "litellm" ConfigMap) with `os.environ/<Env Var Name>`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue