Skip to content

Commit

Permalink
move frigate to new node and use longhorn for pv
Browse files Browse the repository at this point in the history
  • Loading branch information
rssnyder committed Aug 28, 2024
1 parent a4eeb9e commit bc69d71
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions k8s/frigate/extra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,20 @@ spec:
storage: 500Gi
volumeName: media

---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: frigate
namespace: frigate
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 50G

---
apiVersion: v1
kind: Service
Expand Down
4 changes: 2 additions & 2 deletions k8s/frigate/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ config: |
persistence:
media:
enabled: True
existingClaim: media
existingClaim: frigate
nodeSelector:
kubernetes.io/hostname: charlie
kubernetes.io/hostname: jack
coral:
enabled: true
hostPath: /dev/bus/usb
Expand Down

0 comments on commit bc69d71

Please sign in to comment.