enable hwaccel in frigate

This commit is contained in:
2025-06-29 20:22:53 +02:00
parent dff138ba31
commit 2424ad440b
3 changed files with 32 additions and 1 deletions

View File

@@ -60,6 +60,8 @@ spec:
- audio
- detect
- record
ffmpeg:
hwaccel_args: preset-vaapi
go2rtc:
streams:
@@ -98,3 +100,21 @@ spec:
- hosts:
- frigate.lumpiasty.xyz
secretName: frigate-ingress
nodeSelector:
kubernetes.io/hostname: anapistula-delrosalae
# GPU access
extraVolumes:
- name: dri
hostPath:
path: /dev/dri/renderD128
type: CharDevice
extraVolumeMounts:
- name: dri
mountPath: /dev/dri/renderD128
securityContext:
# Not ideal
privileged: true