frigate
by alekc
Real-time NVR for IP cameras with local, GPU/Coral-accelerated object detection, built on Frigate, exposing RTSP/RTMP/WebRTC restreams and a web UI without any cloud dependency.
About this chart
frigate
Real-time NVR for IP cameras with local, GPU/Coral-accelerated object detection, built on Frigate, exposing RTSP/RTMP/WebRTC restreams and a web UI without any cloud dependency.
Frigate runs object detection against your camera feeds locally (optionally accelerated by a Coral TPU or NVIDIA GPU), so clips and notifications are driven by real detections instead of raw motion, with no footage ever leaving your network.
Quick start
From the classic chart repository:
helm repo add alekc https://charts.alekc.dev
helm repo update
helm install my-frigate alekc/frigate -f my-values.yaml
Or directly from the OCI registry, no helm repo add needed:
helm install my-frigate oci://charts.alekc.dev/frigate --version 8.1.0 -f my-values.yaml
Verifying the signature
curl -sO https://charts.alekc.dev/pubring.gpg
helm pull oci://charts.alekc.dev/frigate --version 8.1.0 --verify --keyring pubring.gpg
Minimum config
At minimum, you'll need to define the following Frigate configuration properties. See the Frigate config reference for everything else.
Note: config here is a real YAML object, not a string, unlike some other frigate charts.
# values.yaml
config:
mqtt:
host: "mqtt.example.com"
port: 1883
user: admin
password: "<your_mqtt_password>"
cameras:
# Define at least one camera
back:
ffmpeg:
inputs:
- path: rtsp://viewer:{FRIGATE_RTSP_PASSWORD}@10.0.10.10:554/cam/realmonitor?channel=1&subtype=2
roles:
- detect
- rtmp
detect:
width: 1280
height: 720
Maintainers
| Name | Url | |
|---|---|---|
| alekc | [email protected] |
Source Code
Gotchas
- All three persistence volumes (
config,data,media) default toenabled: false, meaning an emptyDir. Every recording, snapshot, and the config file itself is lost on pod restart until you enable at leastpersistence.media(recordings/clips) andpersistence.config(if you rely onephemeralWritableConfigYamledits surviving restarts). persistence.config.ephemeralWritableConfigYaml(defaulttrue) copies the rendered ConfigMap into the writable config volume via an init container, so the running config can be edited live through Frigate's own UI/API. Those live edits are lost on the next pod restart unless you scrape them back intovalues.yaml'sconfigblock, the ConfigMap itself is always the source of truth for the next rollout.coral.enabledruns the containerprivileged: trueunless you set your ownsecurityContext, required for USB device access to the Coral TPU. There is no less-privileged path for USB Coral; a PCIe Coral only needs the specific device path, not full privilege, if your setup uses one, overridesecurityContextaccordingly.networkPolicy.enabledallows broad egress to0.0.0.0/0by default. Frigate dials your camera RTSP streams and an MQTT broker directly, both typically on your LAN rather than in the cluster's pod network, so there's no small fixed CIDR to narrow this to out of the box. Narrow it withnetworkPolicy.extraEgressif your environment allows it.
Upgrade notes
No breaking changes yet. This section will list migration steps for any future release with
a kind: removed or kind: changed entry in artifacthub.io/changes that requires one.
Values
| Key | Type | Default | Description |
|---|---|---|---|
| additionalManifests | object | {} | Additional raw Kubernetes manifests to render alongside the chart's own resources. Supports any valid Kubernetes object; values are templated with tpl, so a manifest can reference .Release.Namespace and friends. |
| affinity | object | {} | Set Pod affinity rules |
| commonAnnotations | object | {} | Annotations merged onto every resource this chart renders, in addition to each resource's own dedicated annotations field below. |
| commonLabels | object | {} | Labels merged onto every resource this chart renders. Never reaches selector/matchLabels, safe to change without forcing a Deployment recreate. |
| config | object | {} | frigate configuration - see Docs for more info |
| configMapAnnotations | object | {} | Annotations to add to the ConfigMap holding config.yml. |
| coral.enabled | bool | false | enables the use of a Coral device |
| coral.hostPath | string | "/dev/bus/usb" | path on the host to which to mount the Coral device |
| deploymentAnnotations | object | {} | Annotations to add to the Deployment. |
| env | object | {} | additional ENV variables to set. Prefix with FRIGATE_ to target Frigate configuration values |
| envFromSecrets | list | [] | set environment variables from Secret(s) |
| extraContainers | list | [] | Extra sidecar containers appended to the pod spec, templated with tpl so they can reference .Release.Namespace and friends. |
| extraInitContainers | list | [] | Define extra init containers |
| extraVolumeMounts | list | [] | declare additional volume mounts |
| extraVolumes | list | [] | declare extra volumes to use for Frigate |
| fullnameOverride | string | "" | Overrides the Full Name of resources |
| gpu.nvidia.enabled | bool | false | Enables NVIDIA GPU compatibility. Must also use the "amd64nvidia" tagged image |
| gpu.nvidia.runtimeClassName | string | nil | Overrides the default runtimeClassName |
| image.pullPolicy | string | "IfNotPresent" | Docker image pull policy |
| image.repository | string | "ghcr.io/blakeblackshear/frigate" | Docker registry/repository to pull the image from |
| image.tag | string | nil | Overrides the default tag (appVersion) used in Chart.yaml (Docker Hub) |
| imagePullSecrets | list | [] | Docker image pull policy |
| ingress.annotations | object | {} | annotations to configure your Ingress. See your Ingress Controller's Docs for more info. |
| ingress.enabled | bool | false | Enables the use of an Ingress Controller to front the Service and can provide HTTPS |
| ingress.hosts | list | [{"host":"chart.example.local","paths":[{"path":"/","portName":"http-auth"}]}] | alternatively use http if anonymous auth is allowed |
| ingress.ingressClassName | string | nil | ingressClassName for using on clusters with multiple ingresses, default is null |
| ingress.tls | list | [] | list of TLS configurations |
| nameOverride | string | "" | Overrides the name of resources |
| networkPolicy.annotations | object | {} | Annotations to add to the NetworkPolicy |
| networkPolicy.enabled | bool | false | Render a NetworkPolicy restricting ingress to Frigate's own ports and egress to DNS plus whatever extraEgress adds. Frigate dials your camera RTSP streams and an MQTT broker directly, both typically on your LAN rather than in the cluster's pod network, so egress here is broad by default, see Gotchas. |
| networkPolicy.extraEgress | list | [] | Additional raw egress rules, appended as-is under spec.egress. |
| networkPolicy.extraIngress | list | [] | Additional raw ingress rules, appended as-is under spec.ingress. |
| nodeSelector | object | {} | Node Selector configuration |
| persistence.config.accessMode | string | "ReadWriteOnce" | access mode to use for the PVC |
| persistence.config.annotations | object | {} | Annotations to add to the PersistentVolumeClaim |
| persistence.config.enabled | bool | false | Enables persistence for the config directory |
| persistence.config.ephemeralWritableConfigYaml | bool | true | Copy configMap config into volume to make it writable. All live changes are lost when pod restarts, but this allows an easy way to run migrations and edit config, then scrape it from the API or copy out of the pod and update local helm values. |
| persistence.config.size | string | "100Mi" | size/capacity of the PVC |
| persistence.config.skipuninstall | bool | false | Do not delete the pvc upon helm uninstall |
| persistence.data.accessMode | string | "ReadWriteOnce" | access mode to use for the PVC |
| persistence.data.annotations | object | {} | Annotations to add to the PersistentVolumeClaim |
| persistence.data.enabled | bool | false | Data directory is obsolete. Use config and media instead. |
| persistence.data.size | string | "10Gi" | size/capacity of the PVC |
| persistence.data.skipuninstall | bool | false | Do not delete the pvc upon helm uninstall |
| persistence.media.accessMode | string | "ReadWriteOnce" | access mode to use for the PVC |
| persistence.media.annotations | object | {} | Annotations to add to the PersistentVolumeClaim |
| persistence.media.enabled | bool | false | Enables persistence for the media directory |
| persistence.media.size | string | "10Gi" | size/capacity of the PVC |
| persistence.media.skipuninstall | bool | false | Do not delete the pvc upon helm uninstall |
| podAnnotations | object | {} | Set additonal pod Annotations |
| podSecurityContext | object | {} | will override it for frigate container |
| probes.liveness.enabled | bool | true | Enable the liveness probe. |
| probes.liveness.failureThreshold | int | 5 | Consecutive failures before the container is restarted. |
| probes.liveness.initialDelaySeconds | int | 30 | Seconds to wait before the first probe. |
| probes.liveness.timeoutSeconds | int | 10 | Seconds before a probe attempt itself times out. |
| probes.readiness.enabled | bool | true | Enable the readiness probe. |
| probes.readiness.failureThreshold | int | 5 | Consecutive failures before the pod is marked NotReady. |
| probes.readiness.initialDelaySeconds | int | 30 | Seconds to wait before the first probe. |
| probes.readiness.timeoutSeconds | int | 10 | Seconds before a probe attempt itself times out. |
| probes.startup.enabled | bool | false | Enable the startup probe. Off by default; Frigate's own liveness probe already tolerates a slow first start. |
| probes.startup.failureThreshold | int | 30 | Consecutive failures before the container is restarted. |
| probes.startup.periodSeconds | int | 10 | Seconds between startup probe attempts. |
| resources | object | {} | Set resource limits/requests for the Pod(s) |
| securityContext | object | {} | Set Frigate Container Security Context |
| service.annotations | object | {} | Annotations to add to the Service |
| service.ipFamilies | list | [] | Restrict the Service to specific IP families (e.g. ["IPv4"]). |
| service.ipFamilyPolicy | string | "SingleStack" | Default IP family policy for the Service. |
| service.labels | object | {} | Additional labels to add to the Service, on top of the chart's own. |
| service.loadBalancerIP | string | nil | Set specific IP address for LoadBalancer. service.type must be set to LoadBalancer |
| service.port | int | 5000 | Port the Service should communicate on |
| service.type | string | "ClusterIP" | Type of Service to use |
| shmSize | string | "1Gi" | amount of shared memory to use for caching |
| strategyType | string | "Recreate" | upgrade strategy type (e.g. Recreate or RollingUpdate) |
| tmpfs | object | {"enabled":true,"sizeLimit":"1Gi"} | use memory for tmpfs (mounted to /tmp) |
| tolerations | list | [] | Node toleration configuration |
Deploy frigate with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has frigate on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartfrigate is pinned at v8.3.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply