Helm chartv0.2.5Verified publisher

A Helm chart to deploy a camera on MSM

About this chart

camera

A Helm chart to deploy a camera on MSM

TL;DR;

helm repo add msm https://charts.mediastreamingmesh.dev
helm install --generate-name --wait msm/camera

Prerequisites

Before deploying the camera app on the node, ensure that you have the following prerequisites:

  • You will need to have access to a Kubernetes cluster
  • Helm must be installed to use these charts

Manual Install

To get started, clone the msm-deployments repository and navigate to the camera directory.

git clone https://github.com/media-streaming-mesh/msm-deployments.git
cd msm-deployments/deployments/camera

Before installing the camera app onto the node, make sure to change the value kubernetesDistro under values.yaml file as per your needs. e.g. kubernetesDistro: "K8S"

helm install <YOUR_APP_NAME> ./ --values ./values.yaml

Usage

Verify everything is in Running state on your Kubernetes Cluster

kubectl get pods -A

or

kubectl get all

Values

KeyTypeDefaultDescription
cpUrlstring"http://msm-cp:9000"
rtspServer.namestring"ciscolabs/rtsp-server"
rtspServer.tagstring"latest"
rtspClient.namestring"ciscolabs/rtsp-client"
rtspClient.tagstring"latest"
stubImage.namestring"ghcr.io/media-streaming-mesh/msm-rtsp-stub"
stubImage.tagstring"latest"
camera.rtspPortint554
camera.hlsPortint8888
config.appNamestring""
config.cameraUrlstring""
config.logLevelstring""

Deploy camera with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has camera 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 chartcamera is pinned at v0.2.5 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