Government Ready GPU Operator#

Government Ready is NVIDIA’s designation for software that meets applicable security requirements for a FedRAMP High or equivalent sovereign deployment. NVIDIA AI Enterprise customers install these GPU Operator components from the NVIDIA NGC™ catalog.

Follow NVIDIA GPU Operator Government Ready. Before you install, confirm the GPU Operator version and the supported platforms in the Support Matrix. Use the gpu-driver-stig-fips image and the driver tag that the Government Ready page lists for that Operator version. The GPU Operator component matrix lists the operands for the Operator version.

The Government Ready page names any GPU Operator components that are not available as Government Ready containers, and it lists the Kubernetes distributions validated for Government Ready. Confirm that your distribution is on that list before you install. The Support Matrix shows Government Ready status for components, not for distributions.

GPU Operator does not encrypt traffic between its controller and the Kubernetes API server. To encrypt that traffic, deploy a service mesh in the cluster.

Install on Canonical Kubernetes#

For a supported Canonical Kubernetes deployment that uses Ubuntu Pro with a FIPS-enabled kernel, prepare the following:

  • An NVIDIA AI Enterprise subscription and an NGC API key with access to the Government Ready images. Refer to Generating Your NGC API Key.

  • helm and kubectl access to the cluster.

  • An Ubuntu Pro token. The driver container uses it to download kernel headers and other packages for the FIPS-enabled kernel.

  • An Operator namespace. The examples use gpu-operator. Replace it if your namespace is different.

Install Node Feature Discovery before the Operator. GPU Operator does not publish a Government Ready build of Node Feature Discovery. Install the upstream version listed in the GPU Operator component matrix. Refer to the NFD installation instructions.

  1. Create the namespace and set its pod security enforcement policy:

    Listing 11 Create the Operator namespace and set its pod security policy#
    $ kubectl create namespace gpu-operator
    $ kubectl label --overwrite namespace gpu-operator pod-security.kubernetes.io/enforce=privileged
    
  2. Create a registry pull Secret using your NGC API key:

    Listing 12 Create the NGC registry pull Secret#
    $ kubectl create secret docker-registry ngc-secret -n gpu-operator \
        --docker-server=nvcr.io --docker-username='$oauthtoken' \
        --docker-password='<ngc-api-key>'
    
  3. Create a file named ubuntu-fips.env that contains UBUNTU_PRO_TOKEN=<ubuntu-pro-token>. Create a Secret from it:

    Listing 13 Create the Ubuntu Pro token Secret#
    $ kubectl create secret generic ubuntu-fips-secret -n gpu-operator \
        --from-env-file=ubuntu-fips.env
    
  4. Add the NVIDIA Helm repository and install GPU Operator with the Government Ready driver image. Replace <supported-chart-version> and <supported-driver-tag> with the chart version and driver tag you confirmed above:

    Listing 14 Install GPU Operator with the Government Ready driver image#
    $ helm repo add nvidia https://helm.ngc.nvidia.com/nvidia
    $ helm repo update
    $ helm install gpu-operator nvidia/gpu-operator -n gpu-operator \
        --version='<supported-chart-version>' \
        --set driver.secretEnv=ubuntu-fips-secret \
        --set driver.repository=nvcr.io/nvidia \
        --set driver.image=gpu-driver-stig-fips \
        --set driver.version='<supported-driver-tag>' \
        --set driver.imagePullSecrets={ngc-secret} \
        --set nfd.enabled=false
    

    For other chart settings, refer to Installing the NVIDIA GPU Operator.

  5. Verify the Operator and GPU resources by following GPU Operator verification.

Update the Ubuntu Pro Token#

To replace an Ubuntu Pro token after installation, edit the Secret named in the ClusterPolicy driver.secretEnv field. The driver container needs the new token to keep downloading FIPS kernel packages.

Listing 15 Edit the Ubuntu Pro token Secret#
$ kubectl edit secret ubuntu-fips-secret -n gpu-operator

Replace the base64-encoded UBUNTU_PRO_TOKEN value, then save the Secret.

Government Ready on OpenShift#

For a supported Government Ready OpenShift deployment, use the OpenShift GPU Operator installation path and configure the Government Ready driver in the ClusterPolicy. You need an NVIDIA AI Enterprise subscription and an NGC API key with access to Government Ready images. OpenShift must run in FIPS mode. Node Feature Discovery must be installed on the cluster. Confirm that your OpenShift configuration is validated for Government Ready components.

  1. Install the Node Feature Discovery Operator and the GPU Operator. Create the ClusterPolicy after configuring the image pull Secret.

  2. In the Operator namespace, create an image pull Secret with the registry nvcr.io, username $oauthtoken, and your NGC API key as the password. The following steps call the Secret ngc-api-secret.

  3. In the OpenShift console, open the installed GPU Operator and create a ClusterPolicy. In the driver configuration, set the repository to nvcr.io/nvidia, the image to gpu-driver-stig-fips, and the image tag to the Government Ready driver tag you confirmed on the Government Ready page. Add ngc-api-secret as an image pull Secret.

  4. Create the ClusterPolicy and check that it becomes ready. Verify the Operator pods and GPU resources by following the OpenShift GPU Operator verification instructions.

For additional configuration and common issues, refer to the GPU Operator documentation, GPU Operator troubleshooting, and OpenShift troubleshooting.