diff --git a/charts/local-ai/templates/deployment.yaml b/charts/local-ai/templates/deployment.yaml index eeb8d08..fa173b5 100644 --- a/charts/local-ai/templates/deployment.yaml +++ b/charts/local-ai/templates/deployment.yaml @@ -88,6 +88,31 @@ spec: containers: - name: {{ template "local-ai.fullname" . }} image: {{ .Values.deployment.image }} + startupProbe: + initialDelaySeconds: 900 + periodSeconds: 10 + failureThreshold: 30 + timeoutSeconds: 10 + httpGet: + scheme: HTTP + port: 8080 + path: /v1/models + readinessProbe: + initialDelaySeconds: 10 + periodSeconds: 5 + timeoutSeconds: 10 + httpGet: + scheme: HTTP + port: 8080 + path: /v1/models + livenessProbe: + initialDelaySeconds: 10 + periodSeconds: 5 + timeoutSeconds: 10 + httpGet: + scheme: HTTP + port: 8080 + path: /v1/models resources: {{- toYaml .Values.resources | nindent 12 }} env: