[frigate] frigate needs configurable probes (#141)

* frigate needs configurable probes

* adjust probe defaults
This commit is contained in:
Jeff Billimek 2020-01-18 21:57:42 -05:00 committed by GitHub
parent 7c5a94e9f4
commit 2516d7abe0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 7 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.4.0" appVersion: "0.4.0"
description: Realtime object detection on RTSP cameras with the Google Coral description: Realtime object detection on RTSP cameras with the Google Coral
name: frigate name: frigate
version: 2.0.0 version: 2.1.0
keywords: keywords:
- tensorflow - tensorflow
- coral - coral

View File

@ -43,17 +43,17 @@ spec:
path: / path: /
port: http port: http
scheme: HTTP scheme: HTTP
initialDelaySeconds: 30 initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
failureThreshold: 5 failureThreshold: {{ .Values.probes.liveness.failureThreshold }}
timeoutSeconds: 5 timeoutSeconds: {{ .Values.probes.liveness.timeoutSeconds }}
readinessProbe: readinessProbe:
httpGet: httpGet:
path: / path: /
port: http port: http
scheme: HTTP scheme: HTTP
initialDelaySeconds: 30 initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
failureThreshold: 5 failureThreshold: {{ .Values.probes.readiness.failureThreshold }}
timeoutSeconds: 5 timeoutSeconds: {{ .Values.probes.readiness.timeoutSeconds }}
env: env:
{{- if .Values.timezone }} {{- if .Values.timezone }}
- name: TZ - name: TZ

View File

@ -150,6 +150,18 @@ config: |
- size: 400 - size: 400
x_offset: 750 x_offset: 750
y_offset: 250 y_offset: 250
# Probes configuration
probes:
liveness:
initialDelaySeconds: 30
failureThreshold: 5
timeoutSeconds: 10
readiness:
initialDelaySeconds: 30
failureThreshold: 5
timeoutSeconds: 10
service: service:
type: ClusterIP type: ClusterIP
port: 5000 port: 5000