mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +00:00
[frigate] frigate needs configurable probes (#141)
* frigate needs configurable probes * adjust probe defaults
This commit is contained in:
parent
7c5a94e9f4
commit
2516d7abe0
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user