Home > Storage > PowerFlex > White Papers > NVIDIA Riva on Red Hat OpenShift with Dell PowerFlex > Riva operator installation
export NGC_CLI_API_KEY=<your NGC API key>
export VERSION_TAG="2.11.0"
helm fetch https://helm.ngc.nvidia.com/nvidia/riva/charts/riva-api-${VERSION_TAG}.tgz --username='$oauthtoken' --password=$NGC_CLI_API_KEY tar -xvzf riva-api-${VERSION_TAG}.tgz
PersistentVolumeClaim:
usePVC: true
storageClassName: vxflexos-xfs
storageAccessMode:
storageSize: 1Ti
artifactClaimName: riva-artifact-pvc
workdirClaimName: riva-workdir-pvc
This change directly exposes the service only to other services within the cluster.
helm repo add nvdp https://nvidia.github.io/k8s-device-plugin
helm repo update
helm install --generate-name --set failOnInitError=false nvdp/nvidia-device-plugin
[root@ocp411-admin Riva]# oc get pods
NAME READY STATUS RESTARTS AGE
nvidia-device-plugin-1683609115-2rh8w 1/1 Running 0 3d6h
nvidia-device-plugin-1683609115-9x9tg 1/1 Running 0 3d6h
nvidia-device-plugin-1683609115-gm642 1/1 Running 0 3d6h
nvidia-device-plugin-1683609115-gpmtm 1/1 Running 0 3d6h
helm install riva-api riva-api/ \
--set ngcCredentials.password=`echo -n $NGC_CLI_API_KEY | base64 -w0` \
--set modelRepoGenerator.modelDeployKey=`echo -n tlt_encode | base64 -w0` \
--set riva.speechServices.asr=true \
--set riva.speechServices.nlp=true \
--set riva.speechServices.tts=true
Note: Depending on the number of models, the initial model deployment could take an hour or more.
export pod=`kubectl get pods | cut -d " " -f 1 | grep riva-api`
kubectl describe pod $pod
kubectl logs -f $pod -c riva-model-init
kubectl logs -f $pod -c riva-speech-api
helm repo add traefik https://helm.traefik.io/traefik
helm repo update
helm fetch traefik/traefik
tar -zxvf traefik-*.tgz
helm install traefik traefik/
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: riva-ingressroute
spec:
entryPoints:
- web
routes:
- match: "Host(`traefik.default.svc.cluster.local`)"
kind: Rule
services:
- name: riva-api
port: 50051
scheme: h2c
Kubectl apply -f riva-ingress.yaml
The Riva service is now able to serve gRPC requests from within the cluster at the address traefik.default.svc.cluster.local.