20 Commits
Author SHA1 Message Date
Michael Thomson 337fa870e4 longhorn recurring 2026-09-14 16:26:22 -04:00
Michael Thomson fc0d928e01 netbird network resources for all apps 2026-09-11 20:28:07 -04:00
Michael Thomson 751d97f7a4 netbird service groups 2026-09-11 19:05:04 -04:00
Michael Thomson c2cfe65f29 frigate min volume 2026-09-10 23:31:11 -04:00
Michael Thomson 79dbe3dceb frigate motion and speech 2026-09-10 23:23:15 -04:00
Michael Thomson df0543b0df frigate record audio 2026-09-10 21:07:34 -04:00
Michael Thomson a61c839c43 immich pvc increase 2026-09-10 17:26:47 -04:00
Michael Thomson 1629ec7c14 frigate 2 new cameras 2026-09-10 16:04:04 -04:00
Michael Thomson 6252891ad9 frigate use rtc for live 2026-09-09 15:34:45 -04:00
Michael Thomson 19d67fad53 frigate audio and substream 2026-09-09 15:09:25 -04:00
Michael Thomson 4ff07aff93 frigate recording alerts 2026-09-09 12:07:29 -04:00
Michael Thomson 4c32318be6 frigate recording 2026-09-09 11:42:57 -04:00
Michael Thomson d40abfd742 frigate cats 2026-09-09 11:17:54 -04:00
Michael Thomson ce574c8853 frigate model 2026-09-09 10:44:41 -04:00
Michael Thomson 0dd6b29292 frigate fix cache and dshm 2026-09-09 09:16:41 -04:00
Michael Thomson c29ffef0a8 frigate config fix 2026-09-09 09:04:05 -04:00
Michael Thomson 98bf251f41 frigate config fix 2026-09-09 08:55:12 -04:00
Michael Thomson 23ceadfd7b frigate config 2026-09-09 08:50:41 -04:00
Michael Thomson 2d66be8ab9 frigate helm to manifests 2026-09-09 08:32:57 -04:00
Michael Thomson 145974c666 frigate new image tag 2026-09-08 22:33:22 -04:00
35 changed files with 564 additions and 115 deletions
+13
View File
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: actual
namespace: actual
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: actual
groups:
- name: homelab-services
+13
View File
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: emqx
namespace: emqx
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: emqx
groups:
- name: homelab-services
+153
View File
@@ -0,0 +1,153 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: frigate
namespace: frigate
data:
config.yml: |
tls:
enabled: false
mqtt:
enabled: true
host: emqx.emqx.svc.cluster.local
user: frigate
password: '{FRIGATE_MQTT_PASSWORD}'
ffmpeg:
hwaccel_args: preset-nvidia
detectors:
onnx:
type: onnx
detect:
enabled: true
audio:
enabled: true
min_volume: 200
listen:
- cat
- meow
- hiss
- fart
- speech
objects:
track:
- person
- cat
record:
enabled: true
motion:
days: 1
alerts:
retain:
days: 1
mode: motion
detections:
retain:
days: 1
mode: motion
model:
model_type: yolo-generic
width: 640 # <--- should match the imgsize set during model export
height: 640 # <--- should match the imgsize set during model export
input_tensor: nchw
input_dtype: float
path: /config/model_cache/yolov9-c-640.onnx
labelmap_path: /labelmap/coco-80.txt
go2rtc:
streams:
c200_1:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@192.168.18.20:554/stream1
c200_1_sub:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@192.168.18.20:554/stream2
c200_2:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@192.168.18.21:554/stream1
c200_2_sub:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@192.168.18.21:554/stream2
c200_3:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@192.168.18.22:554/stream1
c200_3_sub:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@192.168.18.22:554/stream2
cameras:
tapoC200_1:
enabled: true
live:
streams:
Main: c200_1
Sub: c200_1_sub
onvif:
host: 192.168.18.20
port: 2020
user: '{FRIGATE_RTSP_USERNAME}'
password: '{FRIGATE_RTSP_PASSWORD}'
ffmpeg:
output_args:
record: preset-record-generic-audio-aac
inputs:
- path: rtsp://127.0.0.1:8554/c200_1
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/c200_1_sub
input_args: preset-rtsp-restream
roles:
- detect
- audio
tapoC200_2:
enabled: true
live:
streams:
Main: c200_2
Sub: c200_2_sub
onvif:
host: 192.168.18.21
port: 2020
user: '{FRIGATE_RTSP_USERNAME}'
password: '{FRIGATE_RTSP_PASSWORD}'
ffmpeg:
output_args:
record: preset-record-generic-audio-aac
inputs:
- path: rtsp://127.0.0.1:8554/c200_2
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/c200_2_sub
input_args: preset-rtsp-restream
roles:
- detect
- audio
tapoC200_3:
enabled: true
live:
streams:
Main: c200_3
Sub: c200_3_sub
onvif:
host: 192.168.18.22
port: 2020
user: '{FRIGATE_RTSP_USERNAME}'
password: '{FRIGATE_RTSP_PASSWORD}'
ffmpeg:
output_args:
record: preset-record-generic-audio-aac
inputs:
- path: rtsp://127.0.0.1:8554/c200_3
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/c200_3_sub
input_args: preset-rtsp-restream
roles:
- detect
- audio
+70
View File
@@ -0,0 +1,70 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: frigate
namespace: frigate
spec:
selector:
matchLabels:
app: frigate
template:
metadata:
labels:
app: frigate
spec:
containers:
- name: frigate
image: ghcr.io/blakeblackshear/frigate:stable-tensorrt
imagePullPolicy: Always
resources:
limits:
nvidia.com/gpu: 1
envFrom:
- secretRef:
name: frigate
ports:
- containerPort: 8971
protocol: TCP
name: http
- containerPort: 8554
protocol: TCP
name: rtsp
- containerPort: 8555
protocol: TCP
name: webrtc-tcp
- containerPort: 8555
protocol: UDP
name: webrtc-udp
volumeMounts:
- mountPath: /config
name: frigate-config
- mountPath: /config/config.yml
subPath: config.yml
name: frigate-configmap
- mountPath: /media/frigate
name: frigate-media
- mountPath: /tmp/cache
name: frigate-cache
- mountPath: /dev/shm
name: frigate-dshm
volumes:
- name: frigate-config
persistentVolumeClaim:
claimName: frigate-config
- name: frigate-configmap
configMap:
name: frigate
items:
- key: config.yml
path: config.yml
- name: frigate-media
persistentVolumeClaim:
claimName: frigate-media
- name: frigate-cache
emptyDir:
medium: Memory
sizeLimit: 1Gi
- name: frigate-dshm
emptyDir:
medium: Memory
sizeLimit: 1Gi
+25
View File
@@ -0,0 +1,25 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: frigate
namespace: frigate
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
spec:
rules:
- host: frigate.michaelthomson.dev
http:
paths:
- pathType: ImplementationSpecific
path: /
backend:
service:
name: frigate
port:
name: http
tls:
- hosts:
- frigate.michaelthomson.dev
secretName: frigate-tls
+13
View File
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: frigate
namespace: frigate
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: frigate
groups:
- name: homelab-services
+11
View File
@@ -0,0 +1,11 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: frigate-config
namespace: frigate
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
+12
View File
@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: frigate-media
namespace: frigate
spec:
accessModes:
- ReadWriteOnce
storageClassName: nfs-client
resources:
requests:
storage: 10Gi
-96
View File
@@ -1,96 +0,0 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: frigate
namespace: frigate
spec:
chart:
spec:
chart: frigate
version: 7.x
sourceRef:
kind: HelmRepository
name: frigate
interval: 15m
releaseName: frigate
values:
image:
repository: ghcr.io/blakeblackshear/frigate
pullPolicy: IfNotPresent
envFromSecrets:
- frigate-secret
gpu:
nvidia:
enabled: true
runtimeClassName: nvidia
config: |
mqtt:
enabled: true
host: emqx.emqx.svc.cluster.local
user: frigate
password: '{FRIGATE_MQTT_PASSWORD}'
ffmpeg:
hwaccel_args: preset-nvidia
go2rtc:
streams:
c200_1:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@192.168.18.20:554/stream1
c200_1_sub:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@192.168.18.20:554/stream2
cameras:
tapoC200_1:
enabled: true
onvif:
host: 192.168.18.20
port: 2020
user: '{FRIGATE_RTSP_USERNAME}'
password: '{FRIGATE_RTSP_PASSWORD}'
live:
stream_name: c200_1
ffmpeg:
output_args:
record: preset-record-generic
inputs:
- path: rtsp://127.0.0.1:8554/c200_1?video&audio
input_args: preset-rtsp-restream
roles:
- record
- detect
- audio
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
hosts:
- host: frigate.michaelthomson.dev
paths:
- path: '/'
portName: http
tls:
- hosts:
- frigate.michaelthomson.dev
secretName: frigate-tls
persistence:
config:
enabled: true
storageClass: longhorn
accessMode: ReadWriteOnce
size: 100Mi
media:
enabled: true
storageClass: nfs-client
accessMode: ReadWriteOnce
size: 10Gi
resources:
limits:
nvidia.com/gpu: 1
-8
View File
@@ -1,8 +0,0 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: frigate
namespace: frigate
spec:
interval: 15m
url: https://blakeblackshear.github.io/blakeshome-charts/
+3 -3
View File
@@ -5,7 +5,7 @@ stringData:
FRIGATE_RTSP_PASSWORD: ENC[AES256_GCM,data:PNI3OU9QCiOEABQu6Tg=,iv:npbl8YE1iTeEA5mJOlEb6EUKhTjd7s7lRfPVCfu+OTE=,tag:PPu1JGT8PSsSfVgOk4sVgw==,type:str]
kind: Secret
metadata:
name: frigate-secret
name: frigate
namespace: frigate
sops:
age:
@@ -19,6 +19,6 @@ sops:
-----END AGE ENCRYPTED FILE-----
recipient: age1s0206tnfaaw849x5xmt95axgu8qhxzlu5ywrwz09tpt8lwpx858q089nq9
encrypted_regex: ^(data|stringData)$
lastmodified: "2026-09-08T19:49:08Z"
mac: ENC[AES256_GCM,data:3viOyo2Qbq29GNNV7e+SacbXI/jf/LkitESACHYuwPcQZFO57J4Hg/Pk1e8lsM2Ft04Ye2L7o1Jdd8gVmPtH8EJdONWFpuv8DOgzAII/FxdDosHy5N0z8Gj8eFBCJEw4zpKKuTMoL+uG5juouWzzMnnmZ0kaz5t2dTUIkbXRDug=,iv:VaZfS84/FhkY5IJQVhbP0XUmVkBGHLMe1pnUISENQYY=,tag:sqs1pu8dThE4x9pqAsYE0g==,type:str]
lastmodified: "2026-09-09T12:12:10Z"
mac: ENC[AES256_GCM,data:mmgt9brUUt7OIbVrNDws3itVRihhpPceDSCJH/OXbgZhCChTk2i5nx7DAhzGnFik9n6jHi9+E13a7XO9wh0rUb/EMcBZhUHDwsYmPpbAUuWAzFYUXJ1MVNj0IbmGK2qoaZHKPh7WD8/5ITB0Ldv+CgAdmQ5N+QtvtfV+0IcI3XU=,iv:ZRTBFPG3Wi0Bx7yzSjAgzsxUvHe+yK4lVmesUbHMQmg=,tag:T8tT0KkMNBWdqDpGZ5m6Og==,type:str]
version: 3.13.3
+22
View File
@@ -0,0 +1,22 @@
apiVersion: v1
kind: Service
metadata:
name: frigate
namespace: frigate
spec:
selector:
app: frigate
ports:
- name: http
port: 8971
targetPort: http
- name: rtsp
port: 8554
targetPort: rtsp
- name: webrtc-tcp
port: 8555
targetPort: webrtc-tcp
- name: webrtc-udp
port: 8555
protocol: UDP
targetPort: webrtc-udp
+13
View File
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: gitea
namespace: gitea
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: gitea-http
groups:
- name: homelab-services
+13
View File
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: grimmory
namespace: grimmory
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: grimmory
groups:
- name: homelab-services
+1 -1
View File
@@ -10,4 +10,4 @@ spec:
serviceRef:
name: homeassistant
groups:
- name: All
- name: homelab-services
+1 -1
View File
@@ -34,7 +34,7 @@ spec:
source: immich-postgres
storage:
size: 8Gi
size: 10Gi
storageClass: longhorn-pg
externalClusters:
+13
View File
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: immich
namespace: immich
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: immich-server
groups:
- name: homelab-services
+13
View File
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: karakeep
namespace: karakeep
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: web
groups:
- name: homelab-services
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: web
name: karakeep
namespace: karakeep
spec:
selector:
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: grafana
namespace: kube-prometheus-stack
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: kube-prometheus-stack-grafana
groups:
- name: homelab-services
+13
View File
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: bazarr
namespace: media
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: bazarr
groups:
- name: homelab-services
+1 -1
View File
@@ -10,4 +10,4 @@ spec:
serviceRef:
name: jellyfin
groups:
- name: All
- name: homelab-services
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: jellyseerr
namespace: media
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: seerr-seerr-chart
groups:
- name: homelab-services
+13
View File
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: prowlarr
namespace: media
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: prowlarr
groups:
- name: homelab-services
+13
View File
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: radarr
namespace: media
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: radarr
groups:
- name: homelab-services
+13
View File
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: sabnzbd
namespace: media
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: sabnzbd
groups:
- name: homelab-services
+13
View File
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: sonarr
namespace: media
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: sonarr
groups:
- name: homelab-services
+13
View File
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: michaelthomson
namespace: michaelthomson
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: michaelthomson
groups:
- name: homelab-services
+13
View File
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: nextcloud
namespace: nextcloud
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: nextcloud
groups:
- name: homelab-services
+13
View File
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: pihole
namespace: pihole
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: pihole
groups:
- name: homelab-services
+13
View File
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: syncthing
namespace: syncthing
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: syncthing
groups:
- name: homelab-services
+13
View File
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: uptime-kuma
namespace: uptime-kuma
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: uptime-kuma
groups:
- name: homelab-services
+13
View File
@@ -0,0 +1,13 @@
apiVersion: netbird.io/v1alpha1
kind: NetworkResource
metadata:
name: vaultwarden
namespace: vaultwarden
spec:
networkRouterRef:
name: homelab
namespace: netbird
serviceRef:
name: vaultwarden
groups:
- name: homelab-services
@@ -8,5 +8,5 @@ spec:
task: "backup"
groups:
- backup
retain: 10
retain: 2
concurrency: 1
@@ -4,9 +4,9 @@ metadata:
name: snapshot
namespace: longhorn-system
spec:
cron: "0 * * * *"
cron: "30 * * * *"
task: "snapshot"
groups:
- snapshot
retain: 24
concurrency: 2
retain: 1
concurrency: 1