forked from billimek/k8s-gitops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfrigate.yaml
127 lines (125 loc) · 3 KB
/
frigate.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
---
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: frigate
namespace: default
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 2.5.0
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
controllers:
main:
annotations:
reloader.stakater.com/auto: "true"
containers:
main:
image:
repository: ghcr.io/blakeblackshear/frigate
tag: 0.14.1
env:
TZ: America/New_York
# LIBVA_DRIVER_NAME: i965
envFrom:
- secretRef:
name: frigate-secret
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /api/version
port: &port 5000
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: false
securityContext:
privileged: true
resources:
requests:
memory: 1000Mi
cpu: 1500m
gpu.intel.com/i915: 1
limits:
memory: 2000Mi
gpu.intel.com/i915: 1
pod:
nodeSelector:
google.feature.node.kubernetes.io/coral: "true"
intel.feature.node.kubernetes.io/gpu: "true"
service:
main:
ports:
http:
port: *port
rtsp:
port: 8554
ingress:
main:
enabled: true
className: nginx-tailscale
hosts:
- host: &host frigate.eviljungle.com
paths:
- path: /
service:
name: main
port: http
tls:
- hosts:
- *host
persistence:
config:
enabled: true
storageClass: rook-ceph-block
accessMode: ReadWriteOnce
size: 10Gi
globalMounts:
- path: /config
config-file:
type: configMap
name: frigate-configmap
globalMounts:
- path: /config/config.yml
subPath: config.yml
readOnly: true
cache:
enabled: true
type: emptyDir
medium: Memory
sizeLimit: 4Gi
globalMounts:
- path: /dev/shm
usb:
enabled: true
type: hostPath
hostPath: /dev/bus/usb
hostPathType: Directory
globalMounts:
- path: /dev/bus/usb
media:
enabled: true
existingClaim: nfs-media-pvc
mountPath: /media
subPath: Videos