From 468ae8e786f3cef6441404fbbeb441c97a63a8b5 Mon Sep 17 00:00:00 2001 From: Michael Shin Date: Wed, 18 Nov 2026 16:16:06 -0500 Subject: [PATCH 1/3] docs: explain NGC registry credentials in the console --- docs/apps/compute.mdx | 4 ++-- docs/apps/inference.mdx | 2 +- docs/apps/jobs.mdx | 2 +- docs/resources/custom-image.mdx | 4 ++-- docs/resources/nim.mdx | 7 +++---- docs/resources/vault.mdx | 28 +++++++++++++++++++++++++--- 6 files changed, 34 insertions(+), 13 deletions(-) diff --git a/docs/apps/compute.mdx b/docs/apps/compute.mdx index 2062437..d828896 100644 --- a/docs/apps/compute.mdx +++ b/docs/apps/compute.mdx @@ -17,9 +17,9 @@ Your image does not need an SSH server preinstalled. CCluster injects one at dep ### Private registry images -To deploy an image from a private registry (e.g., Amazon ECR, Google Artifact Registry, Azure Container Registry, or a self-hosted registry), set **Image pull authentication**. Choose **Username and password** and select **Image Registry Credentials** saved in [Secrets](/resources/vault), or choose **Existing cluster pull secret** and enter the **Cluster pull secret name** that your cluster administrator manages. CCluster automatically detects the registry from the image URL. For public images, leave authentication unset. +For an image that requires authentication, choose **Image pull authentication → Registry credentials**. Select a saved entry in **Registry username**, or type a username and **Password or access token** directly. For NVIDIA NGC (`nvcr.io`), use the literal username `$oauthtoken` and your NGC API key as the password. See [Save NGC registry credentials](/resources/vault#example-nvidia-ngc-nvcrio) for the complete example. CCluster detects the registry from the image URL. Leave credentials empty for images that allow anonymous pulls. -API deployments can also [reference an existing image pull secret](/resources/custom-image#use-an-existing-image-pull-secret) using `image_pull_secret_name`. +Choose **Existing cluster pull secret** to use a secret managed by your cluster administrator. API deployments can also [reference an existing image pull secret](/resources/custom-image#use-an-existing-image-pull-secret) managed by your cluster administrator using `image_pull_secret_name`. ## 2. Configure access and deploy diff --git a/docs/apps/inference.mdx b/docs/apps/inference.mdx index 7958e9c..dfb8f04 100644 --- a/docs/apps/inference.mdx +++ b/docs/apps/inference.mdx @@ -15,7 +15,7 @@ At a minimum, you need to specify: - **Container Tag** — the image tag (select from dropdown or enter manually). - **Container Port** — the port your container exposes its HTTP or gRPC service on. - **Protocol** — select `HTTP` (default) or `gRPC`. -- **Image pull authentication** — for private images, choose **Username and password** and select **Image Registry Credentials** saved in [Secrets](/resources/vault), or choose **Existing cluster pull secret** and enter the **Cluster pull secret name** that your cluster administrator manages. Leave it unset for public images. See [Deploying Custom Models](/resources/custom-image#use-an-existing-image-pull-secret). +- **Image pull authentication → Registry credentials** — select **Saved registry credentials** for images that require authentication. For NVIDIA NGC (`nvcr.io`), first [save credentials](/resources/vault#example-nvidia-ngc-nvcrio) with username `$oauthtoken` and your NGC API key as the password. Leave the selection empty for images that allow anonymous pulls. Alternatively, choose **Existing cluster pull secret** for a secret managed by your administrator; API deployments can [reference it by name](/resources/custom-image#use-an-existing-image-pull-secret). - **Hugging Face Token** — select a Hugging Face token saved in [Secrets](/resources/vault) for gated or private models. Do not pass `HF_TOKEN` as a plain environment variable. The create wizard has three steps: **Endpoint**, **Advanced**, and **Hardware**. Optional runtime settings are in **Advanced**, and **Scaling** settings are in **Hardware**. diff --git a/docs/apps/jobs.mdx b/docs/apps/jobs.mdx index 590d8d3..2dace5b 100644 --- a/docs/apps/jobs.mdx +++ b/docs/apps/jobs.mdx @@ -12,7 +12,7 @@ Under the **Job Information** section, provide the core details for your workloa - **Job Name** — a unique name for the job. It must start with a lowercase letter, contain only lowercase letters, digits, or hyphens (`-`), end with an alphanumeric character, and be at most 20 characters. - **Container Image URL** — the container image to run (e.g., `nvcr.io/nvidia/base/ubuntu`). - **Container Tag** — the image tag (e.g., `latest`). -- **Image pull authentication** — for private images, choose **Username and password** and select **Image Registry Credentials** saved in [Secrets](/resources/vault), or choose **Existing cluster pull secret** and enter the **Cluster pull secret name** that your cluster administrator manages. Leave it unset for public images. API deployments can also [reference an existing image pull secret](/resources/custom-image#use-an-existing-image-pull-secret) using `image_pull_secret_name`. +- **Image pull authentication → Registry credentials** — enter **Registry username** and **Password or access token** for images that require authentication. For NVIDIA NGC (`nvcr.io`), enter the literal username `$oauthtoken` and your NGC API key as the password. Leave both empty for images that allow anonymous pulls; if you provide one, you must provide the other. Alternatively, choose **Existing cluster pull secret** for a secret managed by your administrator. API deployments can [reference it using `image_pull_secret_name`](/resources/custom-image#use-an-existing-image-pull-secret). ## 2. Set optional details diff --git a/docs/resources/custom-image.mdx b/docs/resources/custom-image.mdx index 5db150e..1168756 100644 --- a/docs/resources/custom-image.mdx +++ b/docs/resources/custom-image.mdx @@ -18,11 +18,11 @@ docker build --platform linux/amd64 -t stable-diffusion:latest . ``` -After building the container, push it to a container registry. The NVIDIA CCluster supports both public registries (e.g., [Docker Hub](https://hub.docker.com/)) and private registries (e.g., Amazon ECR, Google Artifact Registry, Azure Container Registry, or self-hosted registries). +After building the container, push it to a container registry. The NVIDIA CCluster supports public and private images on registries such as [NVIDIA NGC](https://catalog.ngc.nvidia.com/containers) (`nvcr.io`), Amazon ECR, Google Artifact Registry, Azure Container Registry, or self-hosted registries. For **public images**, navigate to the General Inference option in the NVIDIA CCluster and enter the image name, tag, and container port to deploy your application. -For **private images**, you will need to provide registry credentials so CCluster can pull the image. Under **Image pull authentication**, choose **Username and password** and select **Image Registry Credentials** saved in [Secrets](/resources/vault). CCluster automatically detects the registry from the image URL. If your cluster administrator already manages an image pull secret, choose **Existing cluster pull secret** and enter its name, or reference it through the API as described below. +For **images that require authentication**, [save registry credentials in Secrets](/resources/vault#example-nvidia-ngc-nvcrio), then choose **Image pull authentication → Registry credentials** and select **Saved registry credentials** in General Inference. For NVIDIA NGC, the username is the literal `$oauthtoken` and the password is your NGC API key. CCluster detects the registry from the image URL. If your administrator manages a Kubernetes pull secret, choose **Existing cluster pull secret** or reference it through the API as described below. ## Use an existing image pull secret diff --git a/docs/resources/nim.mdx b/docs/resources/nim.mdx index 128400e..1263263 100644 --- a/docs/resources/nim.mdx +++ b/docs/resources/nim.mdx @@ -14,7 +14,7 @@ NIM images are hosted on `nvcr.io`. Browse the catalog at [build.nvidia.com](htt | `nvcr.io/nim/deepseek-ai/deepseek-r1-distill-qwen-32b` | `latest` | | `nvcr.io/nim/meta/llama-3.1-8b-instruct` | `latest` | -You also need an [NGC API Key](https://ngc.nvidia.com) — it is used both to pull the image and to download model weights. +You also need an NGC API key — it is used both to pull the image and to download model weights. Before configuring the deployment, [save NGC registry credentials](/resources/vault#example-nvidia-ngc-nvcrio) with the literal username `$oauthtoken` and the API key as the password. ## Configure the deployment @@ -27,9 +27,8 @@ From the **General Inference** deployment page, every NIM uses the same configur | **Container Port** | `8000` | | **Protocol** | `HTTP` | | **Health check path** | `/v1/health/ready` | -| **Image pull authentication** | **Username and password**, with **Image Registry Credentials** saved in [Secrets](/resources/vault) (see below) | - -Create the registry credential first in **Secrets → Registry Credentials**: set the username to `$oauthtoken` (literal string — not a variable) and the password to your [NGC API Key](https://ngc.nvidia.com). +| **Image pull authentication** | **Registry credentials** | +| **Saved registry credentials** | Select the `$oauthtoken` entry you saved in Secrets. | Leave **Add command** empty — the image's default entrypoint starts the server. In the **Advanced** step, under **Environment Variables**, also add: diff --git a/docs/resources/vault.mdx b/docs/resources/vault.mdx index 8d06e90..1020986 100644 --- a/docs/resources/vault.mdx +++ b/docs/resources/vault.mdx @@ -114,12 +114,34 @@ The certificate then appears in the **Certificates** list. Select it under **Pri ## Step 2C: Adding registry credentials -Registry credentials allow the NVIDIA CCluster to pull container images from private registries when creating [General Inference](/apps/inference), [Compute](/apps/compute), or [Batch Jobs](/apps/jobs) deployments. +Registry credentials let CCluster pull private container images. Save credentials in **Secrets** for reuse in [General Inference](/apps/inference) and [Compute](/apps/compute) deployments. [Batch Jobs](/apps/jobs) accept credentials directly in the deployment form. -To add registry credentials, select **Add Secret** and choose `Registry Credentials` from the dropdown. Enter a name, along with the registry username and password (or access token). The credentials are stored securely and can be selected as **Image Registry Credentials** during deployment configuration. +### Example: NVIDIA NGC (`nvcr.io`) -Supported registries include Docker Hub, Amazon ECR, Google Artifact Registry, Azure Container Registry, and any Docker-compatible private registry. CCluster automatically detects the registry from the image URL at deployment time. +1. Create an [NGC API key](https://org.ngc.nvidia.com/setup/personal-keys) with access to the container image you want to pull. See NVIDIA's [NGC authentication guide](https://docs.nvidia.com/ngc/latest/ngc-user-guide.html) for key types and permissions. +2. In CCluster, open **Secrets → Add Secret → Registry Credentials**. +3. Complete the form: + | Field | What to enter for NGC | + | --- | --- | + | **Registry username** | `$oauthtoken` — enter this literal text, including the dollar sign, without quotes. | + | **Password or access token** | Paste the raw NGC API key. | + | **Visibility** | **User** for personal use, or **Organization** to share credentials within your CCluster organization. | + +4. Click **Save credentials**. Saving stores the credentials; it does not verify that NGC accepts them or that they can pull a particular image. +5. In the deployment form, choose **Image pull authentication → Registry credentials**. In General Inference, select the entry under **Saved registry credentials**. In Compute, select the saved entry in **Registry username**; its password is filled automatically. + + +**Registry username** is the login username, not a friendly name for the secret. For NGC, use `$oauthtoken`, not your NVIDIA email, organization name, or `nvcr.io`. The password field accepts the API key itself, not Docker config JSON. + + +For example, for image `nvcr.io/nvidia/pytorch` and tag `26.01-py3`, the registry is inferred from the image URL. You still use `$oauthtoken` as the username; `nvidia` is the image namespace. + +You can also select **Create registry credentials** from the General Inference or Compute form. This opens a new tab and keeps your unfinished deployment open. Save the credentials, return to the deployment tab, and select **refresh credentials** before choosing the new entry. + +If credentials for the same username and visibility already exist, select the existing entry. The current form does not support updating credentials or storing multiple entries with the same username and visibility. + +For images that allow anonymous pulls, leave credentials empty. To use a Kubernetes pull secret managed by your administrator, see [Use an existing image pull secret](/resources/custom-image#use-an-existing-image-pull-secret). ## Step 2D: Adding environment variables From 8b11afe7faed219a4276421811350713ff91204d Mon Sep 17 00:00:00 2001 From: Michael Shin Date: Mon, 23 Nov 2026 11:07:32 -0500 Subject: [PATCH 2/3] docs: separate registry setup from the NGC example --- docs/resources/vault.mdx | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/docs/resources/vault.mdx b/docs/resources/vault.mdx index 1020986..114f12c 100644 --- a/docs/resources/vault.mdx +++ b/docs/resources/vault.mdx @@ -116,26 +116,36 @@ The certificate then appears in the **Certificates** list. Select it under **Pri Registry credentials let CCluster pull private container images. Save credentials in **Secrets** for reuse in [General Inference](/apps/inference) and [Compute](/apps/compute) deployments. [Batch Jobs](/apps/jobs) accept credentials directly in the deployment form. -### Example: NVIDIA NGC (`nvcr.io`) +### Save registry credentials -1. Create an [NGC API key](https://org.ngc.nvidia.com/setup/personal-keys) with access to the container image you want to pull. See NVIDIA's [NGC authentication guide](https://docs.nvidia.com/ngc/latest/ngc-user-guide.html) for key types and permissions. +1. Obtain login credentials from your container registry. Use a password or access token with permission to pull the image. 2. In CCluster, open **Secrets → Add Secret → Registry Credentials**. 3. Complete the form: - | Field | What to enter for NGC | + | Field | What to enter | | --- | --- | - | **Registry username** | `$oauthtoken` — enter this literal text, including the dollar sign, without quotes. | - | **Password or access token** | Paste the raw NGC API key. | + | **Registry username** | The registry login username. Some registries require a special username when authenticating with an access token; see the NGC example below. | + | **Password or access token** | The raw password or token, not Docker config JSON. | | **Visibility** | **User** for personal use, or **Organization** to share credentials within your CCluster organization. | -4. Click **Save credentials**. Saving stores the credentials; it does not verify that NGC accepts them or that they can pull a particular image. -5. In the deployment form, choose **Image pull authentication → Registry credentials**. In General Inference, select the entry under **Saved registry credentials**. In Compute, select the saved entry in **Registry username**; its password is filled automatically. +4. Click **Save credentials**. Saving stores the credentials; it does not verify authentication or access to a particular image. - -**Registry username** is the login username, not a friendly name for the secret. For NGC, use `$oauthtoken`, not your NVIDIA email, organization name, or `nvcr.io`. The password field accepts the API key itself, not Docker config JSON. - +**Registry username** is used to authenticate, not as a friendly name for the saved entry. The form's info icons explain the fields, and **Registry credential documentation** links to this section. + +### Example: NVIDIA NGC (`nvcr.io`) + +Create an [NGC API key](https://org.ngc.nvidia.com/setup/personal-keys) with access to the container image you want to pull. See NVIDIA's [NGC authentication guide](https://docs.nvidia.com/ngc/latest/ngc-user-guide.html) for key types and permissions. When saving the credentials, use: + +| Field | What to enter for NGC | +| --- | --- | +| **Registry username** | `$oauthtoken` — enter this literal text, including the dollar sign, without quotes. | +| **Password or access token** | Paste the raw NGC API key. | + +For NGC, do not use your NVIDIA email, organization name, or `nvcr.io` as the username. For example, for image `nvcr.io/nvidia/pytorch` and tag `26.01-py3`, the registry is inferred from the image URL. You still use `$oauthtoken` as the username; `nvidia` is the image namespace. + +### Use saved credentials in a deployment -For example, for image `nvcr.io/nvidia/pytorch` and tag `26.01-py3`, the registry is inferred from the image URL. You still use `$oauthtoken` as the username; `nvidia` is the image namespace. +Choose **Image pull authentication → Registry credentials**. In General Inference, select the entry under **Saved registry credentials**. In Compute, select the saved entry in **Registry username**; its password is filled automatically. You can also select **Create registry credentials** from the General Inference or Compute form. This opens a new tab and keeps your unfinished deployment open. Save the credentials, return to the deployment tab, and select **refresh credentials** before choosing the new entry. From 1c1976cab12d9b8cd185fdbfcef8913ae087952a Mon Sep 17 00:00:00 2001 From: Michael Shin Date: Mon, 23 Nov 2026 11:11:13 -0500 Subject: [PATCH 3/3] docs: match the inline registry setup guide link --- docs/resources/vault.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resources/vault.mdx b/docs/resources/vault.mdx index 114f12c..2b3f078 100644 --- a/docs/resources/vault.mdx +++ b/docs/resources/vault.mdx @@ -130,7 +130,7 @@ Registry credentials let CCluster pull private container images. Save credential 4. Click **Save credentials**. Saving stores the credentials; it does not verify authentication or access to a particular image. -**Registry username** is used to authenticate, not as a friendly name for the saved entry. The form's info icons explain the fields, and **Registry credential documentation** links to this section. +**Registry username** is used to authenticate, not as a friendly name for the saved entry. The form's info icons explain the fields. The **setup guide** link in the opening paragraph opens this section. ### Example: NVIDIA NGC (`nvcr.io`)