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"
|
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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user