msm
A Helm chart for MSM Deployment
About this chart
msm
A Helm chart for MSM Deployment
TL;DR;
helm repo add msm https://charts.mediastreamingmesh.dev
helm install --generate-name --wait msm/msm
Prerequisites
Before deploying the msm 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 msm directory.
git clone https://github.com/media-streaming-mesh/msm-deployments.git
cd msm-deployments/deployments/msm
Before installing the msm 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
| Key | Type | Default | Description |
|---|---|---|---|
| kubernetesDistro | string | "K8S" | |
| cpUrl | string | "http://msm-cp:9000" | |
| cniImage.name | string | "ghcr.io/media-streaming-mesh/msm-cni" | |
| cniImage.tag | string | "latest" | |
| proxyImage.name | string | "ghcr.io/media-streaming-mesh/msm-dp" | |
| proxyImage.tag | string | "latest" | |
| stubImage.name | string | "ghcr.io/media-streaming-mesh/msm-rtsp-stub" | |
| stubImage.tag | string | "latest" | |
| webhookImage.name | string | "ghcr.io/media-streaming-mesh/msm-admission-webhook" | |
| webhookImage.tag | string | "latest" | |
| controlPlaneImage.name | string | "ghcr.io/media-streaming-mesh/msm-cp" | |
| controlPlaneImage.tag | string | "latest" | |
| networkControllerImage.name | string | "ghcr.io/media-streaming-mesh/msm-nc" | |
| networkControllerImage.tag | string | "latest" | |
| config.rtpPort | int | 8050 | |
| config.gRPCPort | int | 9000 | |
| config.logLevel | string | "" | |
| config.logFormat | string | "" |
Deploy msm with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has msm 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 chartmsm is pinned at v0.1.17 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