Skip to main content
Skip table of contents

Nvidia GPU Override File

GPU Override File

This override file should be used to create images for use with DKP that can use GPU hardware. These override files can also be located in the Konvoy Image Builder repo.

--overrides overrides/nvidia.yaml

CODE
---
gpu:
  types:
    - nvidia
build_name_extra: "-nvidia"

GPU Override File for Pre-provisioned environments

If you require your environment to consume GPU resources, add the following FIPS Overrides file to your environment:

  1. If your pre-provisioned machines need to have a default Override file like FIPS, create a secret that includes the overrides in a file:

    CODE
    cat > nvidia.yaml << EOF 
    ---
    gpu:
      types:
        - nvidia
    build_name_extra: "-nvidia"
    EOF
  2. Create the related secret by running the following command:

    CODE
    kubectl create secret generic $CLUSTER_NAME-user-overrides --from-file=nvidia.yaml=nvidia.yaml
    kubectl label secret $CLUSTER_NAME-user-overrides clusterctl.cluster.x-k8s.io/move=
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.