diff --git a/gpu-operator/install-gpu-operator-air-gapped.rst b/gpu-operator/install-gpu-operator-air-gapped.rst index 5714da920..3c0b04c8b 100644 --- a/gpu-operator/install-gpu-operator-air-gapped.rst +++ b/gpu-operator/install-gpu-operator-air-gapped.rst @@ -92,11 +92,16 @@ Before proceeding to the next sections, get the ``values.yaml`` file used for GP .. code-block:: console - $ curl -sO https://raw.githubusercontent.com/NVIDIA/gpu-operator/v1.7.0/deployments/gpu-operator/values.yaml + $ helm repo add nvidia https://helm.ngc.nvidia.com/nvidia \ + && helm repo update + +.. code-block:: console + + $ helm show values nvidia/gpu-operator --version=${version} > values.yaml .. note:: - Replace ``v1.7.0`` in the above command with the version you want to use. + Replace ``${version}`` in the above command with the GPU Operator chart version you want to use. ******************** @@ -161,85 +166,134 @@ Finally, push the images to the local registry: $ docker push //gpu-operator:${version} $ docker push //driver:${recommended}-ubuntu22.04 -Update ``values.yaml`` with local registry information in the repository field. +Update ``values.yaml`` with local registry information in the repository field for each image that you mirror. +The image names and versions change between GPU Operator releases, so start with the ``values.yaml`` file for your chart +version and keep the image and version values from that file. .. note:: Replace below with your local image registry URL and port. -Sample of ``values.yaml`` for GPU Operator v1.9.0: +Sample ``values.yaml`` override pattern: .. code-block:: yaml operator: repository: image: gpu-operator - version: 1.9.0 imagePullSecrets: [] - initContainer: - image: cuda + + validator: + repository: + image: gpu-operator + imagePullSecrets: [] + + driver: + repository: + image: driver + version: + imagePullSecrets: [] + + toolkit: + repository: + image: container-toolkit + version: + imagePullSecrets: [] + + devicePlugin: + repository: + image: k8s-device-plugin + version: + imagePullSecrets: [] + + dcgm: + repository: + image: dcgm + version: + + dcgmExporter: + repository: + image: dcgm-exporter + version: + + gfd: + repository: + image: k8s-device-plugin + version: + imagePullSecrets: [] + + migManager: + repository: + image: k8s-mig-manager + version: + imagePullSecrets: [] + + nodeStatusExporter: + repository: + image: gpu-operator + imagePullSecrets: [] + + gds: + repository: + image: nvidia-fs + version: + imagePullSecrets: [] + + gdrcopy: + repository: + image: gdrdrv + version: + imagePullSecrets: [] + + vgpuManager: + repository: + image: vgpu-manager + version: + imagePullSecrets: [] + driverManager: + repository: + image: k8s-driver-manager + version: + + vgpuDeviceManager: + repository: + image: vgpu-device-manager + version: + imagePullSecrets: [] + + vfioManager: + repository: + image: k8s-driver-manager + version: + imagePullSecrets: [] + driverManager: repository: - version: 11.4.2-base-ubi8 - - validator: - image: gpu-operator-validator - repository: - version: 1.9.0 - imagePullSecrets: [] - - driver: - repository: - image: driver - version: "470.82.01" - imagePullSecrets: [] - manager: - image: k8s-driver-manager - repository: - version: v0.2.0 - - toolkit: - repository: - image: container-toolkit - version: 1.7.2-ubuntu18.04 - imagePullSecrets: [] - - devicePlugin: - repository: - image: k8s-device-plugin - version: v0.10.0-ubi8 - imagePullSecrets: [] - - dcgmExporter: - repository: - image: dcgm-exporter - version: 2.3.1-2.6.0-ubuntu20.04 - imagePullSecrets: [] - - gfd: - repository: - image: gpu-feature-discovery - version: v0.4.1 - imagePullSecrets: [] - - nodeStatusExporter: - enabled: false - repository: - image: gpu-operator-validator - version: "1.9.0" - - migManager: - enabled: true - repository: - image: k8s-mig-manager - version: v0.2.0-ubuntu20.04 - - node-feature-discovery: - image: - repository: - pullPolicy: IfNotPresent - # tag, if defined will use the given image tag, else Chart.AppVersion will be used - # tag: - imagePullSecrets: [] + image: k8s-driver-manager + version: + + sandboxDevicePlugin: + repository: + image: kubevirt-gpu-device-plugin + version: + imagePullSecrets: [] + + kataSandboxDevicePlugin: + repository: + image: nvidia-sandbox-device-plugin + version: + imagePullSecrets: [] + + ccManager: + repository: + image: k8s-cc-manager + version: + imagePullSecrets: [] + + node-feature-discovery: + image: + repository: + pullPolicy: IfNotPresent + imagePullSecrets: [] ************************