Uploading Red Hat GPU Operator Offline Image to Bootstrap Repository¶
This guide explains how to upload an offline image to the bootstrap repository using the nvcr.io/nvidia/driver:525.105.17-rhel8.4 offline driver image for Red Hat 8.4 as an example.
Prerequisites¶
- The bootstrap node and its components are running properly.
- Prepare a node that has internet access and can access the bootstrap node. Docker should also be installed on this node. You can refer to Installing Docker for installation instructions.
Procedure¶
Step 1: Obtain the Offline Image on an Internet-Connected Node¶
Perform the following steps on the internet-connected node:
-
Pull the nvcr.io/nvidia/driver:525.105.17-rhel8.4 offline driver image:
-
Once the image is pulled, save it as a compressed archive named nvidia-driver.tar :
-
Copy the compressed image archive nvidia-driver.tar to the bootstrap node:
For example:
Step 2: Push the Image to the Bootstrap Repository¶
Perform the following steps on the bootstrap node:
-
Log in to the bootstrap node and import the compressed image archive nvidia-driver.tar :
-
View the imported image:
Expected output:
-
Retag the image to correspond to the target repository in the remote Registry repository:
Replace
with the name of the Nvidia image from the previous step, with the address of the Registry service on the bootstrap node, with the name of the repository you want to push the image to, and with the desired tag for the image. For example:
-
Push the image to the bootstrap repository:
What's Next¶
Refer to Building Red Hat 8.4 Offline Yum Source and Offline Installation of GPU Operator to deploy the GPU Operator to your cluster.