This is a Helm chart package to manage NMOS Registry deployment on your Kubernetes cluster.
kubectl create secret docker-registry <secret-name> --docker-server=nvcr.io '--docker-username=$oauthtoken' --docker-password=<API-KEY> --docker-email=<your-email> -n <your-namespace>
where:alice-ngc-secret
to be used on your local system when deploying applicationsdefault
when you're getting startedprometheusExporter
is enabled, ensure Monitoring Stack Helm Chart is installed in order to collect and visualise the exported logs.Please see the NGC Helm Charts documentation for general guidance.
This Helm chart can be installed on your Kubernetes cluster using the Helm Dashboard UI once the Helm Dashboard Helm Chart is installed.
Login to the NGC registry
helm registry login nvcr.io
Add repo on your local system
helm repo add <your-repo-name> https://helm.ngc.nvidia.com/nvidia/holoscan-for-media/ '--username=$oauthtoken' --password=<API-KEY>
where:
holoscan-for-media
to be used on your local system to indicate the chart repository on NGC specified by the URLUpdate the repo or fetch particular chart
helm repo update
or
helm pull <your-repo-name>/nmos-cpp-registry
where:
helm repo add
command aboveNow you can see all the charts available
helm search repo
You are ready to install NMOS Registry using its Helm chart
Install using below command if the image pull secret was created beforehand as mentioned in prerequisites
helm install --set imagePullSecrets[0].name=<secret-name>,highSpeedNetwork.name=media-a-rx-net-static,highSpeedNetwork.ip=<ip-address>,prometheusExporter.enabled=<prom-enabled> <release-name> <your-repo-name>/nmos-cpp-registry
else
helm install --set imageCredentials.password=<API-KEY>,highSpeedNetwork.name=media-a-rx-net-static,highSpeedNetwork.ip=<ip-address>,prometheusExporter.enabled=<true-or-false> <release-name> <your-repo-name>/nmos-cpp-registry
where:
kubectl create secret
command abovetrue
or false
depending on whether you want to collect logs from the applicationhelm-dashboard
, which should be unique on your local system, to indicate this particular installation of this applicationhelm repo add
command aboveAfter installation you can check the status
kubectl get all -o wide
Once the pod is running you can use the NMOS Registry
Access it via the high-speed secondary network, at http://<ip-address>:<http_port>/ where:
helm install
command aboveRegistryConfig
in the helm install
command (see the values.yaml file)Other commands to manage the installed application
helm status <release-name>
helm get all <release-name>
helm uninstall <release-name>
where:
helm install
command aboveThis Helm chart will download and install additional third-party open-source container images. Review the license terms of these open source projects before use.
Helm chart requires Vector sidecar to be run as privileged. This is so that Vector can write checkpoints for reading log files. In default configuration Vector sidecar is not enabled.