blumeops/argocd/manifests/frigate/deployment.yaml
Erich Blume 45d849f99b Upgrade Frigate 0.16.4 → 0.17.0-rc2
Prerequisite for Apple Silicon ZMQ detector. Adapts record config
to 0.17 schema (retain.days/mode → continuous.days). Detector and
camera config unchanged — validate upgrade before switching backend.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 16:41:50 -08:00

90 lines
2.4 KiB
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: frigate
namespace: frigate
spec:
replicas: 1
selector:
matchLabels:
app: frigate
template:
metadata:
labels:
app: frigate
spec:
initContainers:
- name: copy-config
image: busybox:1.37
command: ["cp", "/config-ro/config.yml", "/config/config.yml"]
volumeMounts:
- name: config-ro
mountPath: /config-ro
- name: config
mountPath: /config
containers:
- name: frigate
image: ghcr.io/blakeblackshear/frigate:0.17.0-rc2-standard-arm64
ports:
- containerPort: 5000
name: http
- containerPort: 8554
name: rtsp
- containerPort: 1984
name: go2rtc
env:
- name: FRIGATE_CAMERA_USER
valueFrom:
secretKeyRef:
name: frigate-camera
key: username
- name: FRIGATE_CAMERA_PASSWORD
valueFrom:
secretKeyRef:
name: frigate-camera
key: password
volumeMounts:
- name: config
mountPath: /config
- name: recordings
mountPath: /media/frigate
- name: database
mountPath: /db
- name: shm
mountPath: /dev/shm
resources:
requests:
memory: "256Mi"
cpu: "200m"
limits:
memory: "2Gi"
cpu: "2000m"
livenessProbe:
httpGet:
path: /api/version
port: 5000
initialDelaySeconds: 30
periodSeconds: 30
readinessProbe:
httpGet:
path: /api/version
port: 5000
initialDelaySeconds: 15
periodSeconds: 10
volumes:
- name: config-ro
configMap:
name: frigate-config
- name: config
emptyDir: {}
- name: recordings
persistentVolumeClaim:
claimName: frigate-recordings
- name: database
persistentVolumeClaim:
claimName: frigate-database
- name: shm
emptyDir:
medium: Memory
sizeLimit: 256Mi