Skip to navigation

Configure NGC Authentication in Openshift

View as MarkdownOpen in Claude

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

#podman
podman login nvcr.io -u '$oauthtoken'
#docker
docker login nvcr.io -u '$oauthtoken'

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

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