frigate

by k8s-home-lab

Helm chartv9.1.1App 0.11.1

NVR With Realtime Object Detection for IP Cameras

About this chart

frigate

NVR With Realtime Object Detection for IP Cameras

This chart is not maintained by the upstream project and any issues with the chart should be raised here

Source Code

Requirements

Kubernetes: >=1.32.0

Dependencies

RepositoryNameVersion
https://k8s-home-lab.github.io/helm-charts/common4.5.5

TL;DR

helm repo add k8s-home-lab https://k8s-home-lab.github.io/helm-charts/
helm repo update
helm install frigate k8s-home-lab/frigate

Installing the Chart

To install the chart with the release name frigate

helm install frigate k8s-home-lab/frigate

Uninstalling the Chart

To uninstall the frigate deployment

helm uninstall frigate

The command removes all the Kubernetes components associated with the chart including persistent volumes and deletes the release.

Configuration

Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the common library.

Specify each parameter using the --set key=value[,key=value] argument to helm install.

helm install frigate \
  --set env.TZ="America/New York" \
    k8s-home-lab/frigate

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.

helm install frigate k8s-home-lab/frigate -f values.yaml

Custom configuration

Frigate database directory

It is recommended to set a separate database directory for Frigate.

For example:

persistence:
  data:
    enabled: true
    mountPath: /data
    # ...
config: |
  # ...
  database:
    path: /data/frigate.db
  # ...

Values

Important: When deploying an application Helm chart you can add more values from our common library chart here

KeyTypeDefaultDescription
affinityobject{}Affinity constraint rules to place the Pod on a specific node. [ref]
configmap.config.dataobjectsee URL to default configSee docs for more details.
configmap.config.enabledbooltrueStore frigate configuration as a ConfigMap
envobjectSee belowenvironment variables. See docs for more details.
env.FRIGATE_RTSP_PASSWORDstringemptySet a RTSP password
env.TZstring"UTC"Set the container timezone
image.pullPolicystring"IfNotPresent"image pull policy
image.repositorystring"blakeblackshear/frigate"image repository
image.tagstringchart.appVersionimage tag
ingress.mainobjectSee values.yamlEnable and configure ingress settings for the chart under this key.
persistenceobjectSee values.yamlConfigure persistence settings for the chart under this key.
persistence.cacheobjectSee values.yamlConfigure a temporary cache. See docs for more details..
persistence.usbobjectSee values.yamlConfigure a hostPathMount to mount a USB device in the container.
resourcesobject{}Configure the resource requests and/or limits for the Pod
securityContext.privilegedboolfalsePrivileged securityContext may be required if USB devices are accessed directly through the host machine
serviceobjectSee values.yamlConfigures service settings for the chart.

Changelog

Version 9.1.1

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 v9.1.1 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