frigate to VM and hdd-ceph
This commit is contained in:
@@ -14,3 +14,7 @@ kustomize build . --enable-helm
|
||||
- Amcrest 5MP Turret PoE Outdoor IP Camera with Mic/Audio, 98ft NightVision, 132° FOV, MicroSD (256GB) IP5M-T1179EW-AI-V3 white
|
||||
|
||||
Cameras are enumerated (with credentials) in secretspace.
|
||||
|
||||
## Coral setup
|
||||
1. Map USB to VM (#TODO: blog post coming up for exact steps)
|
||||
2. `k label no worker91.kube.k-space.ee coral.ai/tpu=Exists`
|
||||
|
@@ -16,5 +16,4 @@ resources:
|
||||
- ssh://git@git.k-space.ee/secretspace/kube/frigate # secrets (.env): go2rtc-config, frigate-mqtt-secret, frigate-rtsp-secret
|
||||
- ./auth.yml
|
||||
- ./rabbitmq.yml
|
||||
- ./storage.yml
|
||||
- ./transcode.yml
|
||||
|
@@ -1,32 +0,0 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: frigate-storage
|
||||
spec:
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
capacity:
|
||||
storage: 1Ti
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: ""
|
||||
nfs:
|
||||
server: 172.21.0.7
|
||||
path: /nas/k6/frigate
|
||||
mountOptions:
|
||||
- vers=4
|
||||
- minorversion=1
|
||||
- noac
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: frigate-storage
|
||||
spec:
|
||||
volumeName: frigate-storage
|
||||
storageClassName: ""
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Ti
|
@@ -29,13 +29,6 @@ spec:
|
||||
values:
|
||||
- go2rtc
|
||||
topologyKey: "kubernetes.io/hostname"
|
||||
nodeSelector:
|
||||
dedicated: nvr
|
||||
tolerations:
|
||||
- key: dedicated
|
||||
operator: Equal
|
||||
value: nvr
|
||||
effect: NoSchedule
|
||||
containers:
|
||||
- name: go2rtc
|
||||
image: alexxit/go2rtc
|
||||
|
@@ -125,24 +125,16 @@ ingress:
|
||||
- "*.k-space.ee"
|
||||
|
||||
persistence:
|
||||
config:
|
||||
# WIP :)
|
||||
enabled: false
|
||||
storageClass: "null"
|
||||
accessMode: ReadWriteOnce
|
||||
size: 1000Mi
|
||||
skipuninstall: false
|
||||
|
||||
media:
|
||||
enabled: true
|
||||
existingClaim: "frigate-storage"
|
||||
skipuninstall: true
|
||||
storageClass: "hdd-ceph"
|
||||
size: 1Ti
|
||||
|
||||
# Force application to run on nvr node
|
||||
nodeSelector:
|
||||
dedicated: nvr
|
||||
coral.ai/tpu: Exists
|
||||
tolerations:
|
||||
- key: dedicated
|
||||
- key: coral.ai/tpu
|
||||
operator: Equal
|
||||
value: nvr
|
||||
value: Exists
|
||||
effect: NoSchedule
|
||||
|
Reference in New Issue
Block a user