Use images from private registry

To be able to use images from a private registry you need to create a secret with credentials which will be used during image pull by nodes.

Check official Kubernetes documentation for details.

This secret should be created in infrastructure and all tenant clusters

Replace <YOUR_NGC_TOKEN> with your NGC token. Token can be generated here

Copy
Copied!
            

kubectl create ns universe kubectl create -n universe secret docker-registry nvcrio-cred\ --docker-server=nvcr.io\ --docker-username='$oauthtoken'\ --docker-password=<YOUR_NGC_TOKEN>


Note

keep ‘$oauthtoken’ string as is, no need to replace

Use imagepullsecrets option for required Charts:

Copy
Copied!
            

global: imagePullSecrets: - name: nvcrio-cred

Previous Other
Next Create local PersistentVolume
© Copyright 2023, NVIDIA. Last updated on Feb 7, 2024.