Import NGC Secret

NVIDIA AI Enterprise 2.0 or later

OpenShift has a secret object type which provides a mechanism for holding sensitive information such as passwords and private source repository credentials. Next you will create a secret object for storing our NGC API key (the mechanism used to authenticate your access to the NGC container registry).

Important

Before you begin you will need to generate or use an existing API key.

Important

You must choose the nvidia-gpu-operator project when creating the NGC secret.


  1. Click Secrets from the Workloads drop down.

  2. Click the Create Drop down.

  3. Select Image Pull Secret.

    openshift-ngc-secret1.png


  4. Enter the following into each field

    Secret name: gpu-operator-secret

    Authentication type: Image registry credentials

    Registry server address: nvcr.io/nvaie

    Username: $oauthtoken

    Password: <API-KEY>

    Email: <YOUR-EMAIL>

    openshift-ngc-secret2.png


  5. Click Create.

Previous Create CLS License Config Map
Next Install the NVIDIA GPU Operator
© Copyright 2024, NVIDIA. Last updated on Apr 2, 2024.