diff --git a/charts/frigate/Chart.yaml b/charts/frigate/Chart.yaml index 03ad7c4c..0aa4737f 100644 --- a/charts/frigate/Chart.yaml +++ b/charts/frigate/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "0.4.0" description: Realtime object detection on RTSP cameras with the Google Coral name: frigate -version: 2.0.0 +version: 2.1.0 keywords: - tensorflow - coral diff --git a/charts/frigate/templates/deployment.yaml b/charts/frigate/templates/deployment.yaml index 9bdeb921..e034f15c 100644 --- a/charts/frigate/templates/deployment.yaml +++ b/charts/frigate/templates/deployment.yaml @@ -43,17 +43,17 @@ spec: path: / port: http scheme: HTTP - initialDelaySeconds: 30 - failureThreshold: 5 - timeoutSeconds: 5 + initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }} + failureThreshold: {{ .Values.probes.liveness.failureThreshold }} + timeoutSeconds: {{ .Values.probes.liveness.timeoutSeconds }} readinessProbe: httpGet: path: / port: http scheme: HTTP - initialDelaySeconds: 30 - failureThreshold: 5 - timeoutSeconds: 5 + initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }} + failureThreshold: {{ .Values.probes.readiness.failureThreshold }} + timeoutSeconds: {{ .Values.probes.readiness.timeoutSeconds }} env: {{- if .Values.timezone }} - name: TZ diff --git a/charts/frigate/values.yaml b/charts/frigate/values.yaml index ef545ac8..43c1a965 100644 --- a/charts/frigate/values.yaml +++ b/charts/frigate/values.yaml @@ -150,6 +150,18 @@ config: | - size: 400 x_offset: 750 y_offset: 250 + +# Probes configuration +probes: + liveness: + initialDelaySeconds: 30 + failureThreshold: 5 + timeoutSeconds: 10 + readiness: + initialDelaySeconds: 30 + failureThreshold: 5 + timeoutSeconds: 10 + service: type: ClusterIP port: 5000