frigate

by alekc

Helm chartv8.3.3App 0.18.3MITVerified publisher

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

NameEmailUrl
alekc[email protected]

Source Code

Gotchas

  • All three persistence volumes (config, data, media) default to enabled: false, meaning an emptyDir. Every recording, snapshot, and the config file itself is lost on pod restart until you enable at least persistence.media (recordings/clips) and persistence.config (if you rely on ephemeralWritableConfigYaml edits surviving restarts).
  • persistence.config.ephemeralWritableConfigYaml (default true) 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 into values.yaml's config block, the ConfigMap itself is always the source of truth for the next rollout.
  • coral.enabled runs the container privileged: true unless you set your own securityContext, 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, override securityContext accordingly.
  • networkPolicy.enabled allows broad egress to 0.0.0.0/0 by 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 with networkPolicy.extraEgress if 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

KeyTypeDefaultDescription
additionalManifestsobject{}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.
affinityobject{}Set Pod affinity rules
commonAnnotationsobject{}Annotations merged onto every resource this chart renders, in addition to each resource's own dedicated annotations field below.
commonLabelsobject{}Labels merged onto every resource this chart renders. Never reaches selector/matchLabels, safe to change without forcing a Deployment recreate.
configobject{}frigate configuration - see Docs for more info
configMapAnnotationsobject{}Annotations to add to the ConfigMap holding config.yml.
coral.enabledboolfalseenables the use of a Coral device
coral.hostPathstring"/dev/bus/usb"path on the host to which to mount the Coral device
deploymentAnnotationsobject{}Annotations to add to the Deployment.
envobject{}additional ENV variables to set. Prefix with FRIGATE_ to target Frigate configuration values
envFromSecretslist[]set environment variables from Secret(s)
extraContainerslist[]Extra sidecar containers appended to the pod spec, templated with tpl so they can reference .Release.Namespace and friends.
extraInitContainerslist[]Define extra init containers
extraVolumeMountslist[]declare additional volume mounts
extraVolumeslist[]declare extra volumes to use for Frigate
fullnameOverridestring""Overrides the Full Name of resources
gpu.nvidia.enabledboolfalseEnables NVIDIA GPU compatibility. Must also use the "amd64nvidia" tagged image
gpu.nvidia.runtimeClassNamestringnilOverrides the default runtimeClassName
image.pullPolicystring"IfNotPresent"Docker image pull policy
image.repositorystring"ghcr.io/blakeblackshear/frigate"Docker registry/repository to pull the image from
image.tagstringnilOverrides the default tag (appVersion) used in Chart.yaml (Docker Hub)
imagePullSecretslist[]Docker image pull policy
ingress.annotationsobject{}annotations to configure your Ingress. See your Ingress Controller's Docs for more info.
ingress.enabledboolfalseEnables the use of an Ingress Controller to front the Service and can provide HTTPS
ingress.hostslist[{"host":"chart.example.local","paths":[{"path":"/","portName":"http-auth"}]}]alternatively use http if anonymous auth is allowed
ingress.ingressClassNamestringnilingressClassName for using on clusters with multiple ingresses, default is null
ingress.tlslist[]list of TLS configurations
nameOverridestring""Overrides the name of resources
networkPolicy.annotationsobject{}Annotations to add to the NetworkPolicy
networkPolicy.enabledboolfalseRender 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.extraEgresslist[]Additional raw egress rules, appended as-is under spec.egress.
networkPolicy.extraIngresslist[]Additional raw ingress rules, appended as-is under spec.ingress.
nodeSelectorobject{}Node Selector configuration
persistence.config.accessModestring"ReadWriteOnce"access mode to use for the PVC
persistence.config.annotationsobject{}Annotations to add to the PersistentVolumeClaim
persistence.config.enabledboolfalseEnables persistence for the config directory
persistence.config.ephemeralWritableConfigYamlbooltrueCopy 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.sizestring"100Mi"size/capacity of the PVC
persistence.config.skipuninstallboolfalseDo not delete the pvc upon helm uninstall
persistence.data.accessModestring"ReadWriteOnce"access mode to use for the PVC
persistence.data.annotationsobject{}Annotations to add to the PersistentVolumeClaim
persistence.data.enabledboolfalseData directory is obsolete. Use config and media instead.
persistence.data.sizestring"10Gi"size/capacity of the PVC
persistence.data.skipuninstallboolfalseDo not delete the pvc upon helm uninstall
persistence.media.accessModestring"ReadWriteOnce"access mode to use for the PVC
persistence.media.annotationsobject{}Annotations to add to the PersistentVolumeClaim
persistence.media.enabledboolfalseEnables persistence for the media directory
persistence.media.sizestring"10Gi"size/capacity of the PVC
persistence.media.skipuninstallboolfalseDo not delete the pvc upon helm uninstall
podAnnotationsobject{}Set additonal pod Annotations
podSecurityContextobject{}will override it for frigate container
probes.liveness.enabledbooltrueEnable the liveness probe.
probes.liveness.failureThresholdint5Consecutive failures before the container is restarted.
probes.liveness.initialDelaySecondsint30Seconds to wait before the first probe.
probes.liveness.timeoutSecondsint10Seconds before a probe attempt itself times out.
probes.readiness.enabledbooltrueEnable the readiness probe.
probes.readiness.failureThresholdint5Consecutive failures before the pod is marked NotReady.
probes.readiness.initialDelaySecondsint30Seconds to wait before the first probe.
probes.readiness.timeoutSecondsint10Seconds before a probe attempt itself times out.
probes.startup.enabledboolfalseEnable the startup probe. Off by default; Frigate's own liveness probe already tolerates a slow first start.
probes.startup.failureThresholdint30Consecutive failures before the container is restarted.
probes.startup.periodSecondsint10Seconds between startup probe attempts.
resourcesobject{}Set resource limits/requests for the Pod(s)
securityContextobject{}Set Frigate Container Security Context
service.annotationsobject{}Annotations to add to the Service
service.ipFamilieslist[]Restrict the Service to specific IP families (e.g. ["IPv4"]).
service.ipFamilyPolicystring"SingleStack"Default IP family policy for the Service.
service.labelsobject{}Additional labels to add to the Service, on top of the chart's own.
service.loadBalancerIPstringnilSet specific IP address for LoadBalancer. service.type must be set to LoadBalancer
service.portint5000Port the Service should communicate on
service.typestring"ClusterIP"Type of Service to use
shmSizestring"1Gi"amount of shared memory to use for caching
strategyTypestring"Recreate"upgrade strategy type (e.g. Recreate or RollingUpdate)
tmpfsobject{"enabled":true,"sizeLimit":"1Gi"}use memory for tmpfs (mounted to /tmp)
tolerationslist[]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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartfrigate is pinned at v8.3.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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