-
-
Notifications
You must be signed in to change notification settings - Fork 171
/
helmrelease.yaml
131 lines (131 loc) · 3.49 KB
/
helmrelease.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
128
129
130
131
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: frigate
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.2.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
dependsOn:
- name: intel-device-plugin-gpu
namespace: kube-system
- name: rook-ceph-cluster
namespace: rook-ceph
- name: volsync
namespace: volsync-system
values:
controllers:
frigate:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/blakeblackshear/frigate
tag: 0.13.2@sha256:2906991ccad85035b176941f9dedfd35088ff710c39d45ef1baa9a49f2b16734
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
securityContext:
privileged: true
resources:
requests:
cpu: 100m
limits:
gpu.intel.com/i915: "1"
memory: 8Gi
defaultPodOptions:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values: ["plex"]
topologyKey: kubernetes.io/hostname
nodeSelector:
google.feature.node.kubernetes.io/coral: "true"
intel.feature.node.kubernetes.io/gpu: "true"
service:
app:
controller: frigate
ports:
http:
port: *port
rtsp:
port: 8554
ingress:
app:
annotations:
external-dns.alpha.kubernetes.io/target: internal.devbu.io
className: internal
hosts:
- host: "{{ .Release.Name }}.devbu.io"
paths:
- path: /
service:
identifier: app
port: http
persistence:
config:
existingClaim: frigate
globalMounts:
- path: /data
config-file:
type: configMap
name: frigate-configmap
globalMounts:
- path: /config/config.yml
subPath: config.yml
readOnly: true
cache:
type: emptyDir
medium: Memory
sizeLimit: 4Gi
globalMounts:
- path: /dev/shm
usb:
type: hostPath
hostPath: /dev/bus/usb
hostPathType: Directory
globalMounts:
- path: /dev/bus/usb
media:
type: nfs
server: expanse.internal
path: /eros/Frigate
globalMounts:
- path: /media