Configure NGC Authentication in Openshift#

Software included with NVIDIA AI Enterprise is packaged using docker containers and therefore highly compatible with Red Hat Openshift. To pull the NVIDIA AI Enterprise container images from NGC, create a pull secret for your namespace.

Verify API Token can pull images. Paste your NGC API Key as the password. (starts with nvapi-). This will create create a .docker/config.json on a machine with either docker or podman

1#podman
2podman login nvcr.io -u '$oauthtoken'
3
4
5#docker
6docker login nvcr.io -u '$oauthtoken'

Create the cluster pull secret from .docker/config.json

1oc set data secret/pull-secret \
2   --from-file=.dockerconfigjson=${HOME}/.docker/config.json \
3   -n openshift-config