Skip to content

Latest commit

 

History

History
78 lines (55 loc) · 1.98 KB

README.md

File metadata and controls

78 lines (55 loc) · 1.98 KB

Introduction

This is a helm chart for the viseron application.

Usage

Helm must be installed to use the charts. Please refer to Helm's documentation to get started.

Once Helm has been set up correctly, add the repo as follows:

helm repo add viseron https://roflcoopter.github.io/viseron-helm-chart

If you had already added this repo earlier, run helm repo update to retrieve the latest versions of the package. You can then run helm search repo viseron -l to see the different versions of the chart.

To install/upgrade the viseron chart:

helm -n my-viseron-namespace upgrade --create-namespace --install --values "my-viseron-values.yaml" my-viseron  viseron/viseron

To uninstall the chart:

helm -n my-viseron-namespace delete my-viseron

Configuration

There are key sections in your values.yaml file that you will want to define.

For example, if you want to use VAAPI, your values.yaml will need to define the dri mount point and allow viseron to run with privileges to access the DRI device.

securityContext:
  privileged: true

volumes:
  - name: dev-dri
    hostPath:
      path: /dev/dri

volumeMounts:
  - name: dev-dri
    mountPath: /dev/dri

If you want to use Google Edge TPU, your values.yaml will need to have this instead:

securityContext:
  privileged: true

volumes:
  - name: dev-usb
    hostPath:
      path: /dev/bus/usb

volumeMounts:
  - name: dev-usb
    mountPath: /dev/bus/usb

Another important configuration is the volumes to store the configuration and the recordings. For example, setting 50Mi for the config storage, and 200Gi for the recordings:

storage:
  config:
    size: 50Mi
  data:
    size: 200Gi

For more details please visit the viseron documentation