Flatcar icon indicating copy to clipboard operation
Flatcar copied to clipboard

NVIDIA driver - support machines without direct internet access

Open robertdavidsmith opened this issue 3 years ago • 0 comments

The NVIDIA driver installer currently downloads the driver from the internet. This doesn't work for machines that don't have direct internet access.

It's not clear how best to fix this. Some options are

  1. Bake nvidia driver kernel+userspace components into the flatcar image. This is easy, but may bloat out the image too much.
  2. Bake only the kernel part of the nvidia driver into the image. This reduces image bloat, but leaves it up to the user to install the userspace part.
  3. Make it possible to configure the URLs used to download the nvidia driver, plus anything else needed. These could then by pointed to an internal artifact store, such as Artifactory.
  4. Publish a special "with nvidia" version of flatcar.

Let's look at the relative sizes of flatcar and the driver.

Sizes of driver: kernel - /opt/nvidia/470.57.02/3033.2.4/lib64/modules: uncompressed: 109MB bzip2 compressed: 42MB

user - /opt/nvidia/470.57.02/3033.2.4/lib64 excluding modules: uncompressed: 473MB bzip2 compressed: 205MB

Size of flatcar: flatcar_production_openstack_image_3033.2.4.img: uncompressed: 884 MB bzip2 compressed: 341MB

So I don't think 1 and 2 are reasonable. 4 is probably my favorite.

Thanks,

Rob

robertdavidsmith avatar Jul 27 '22 15:07 robertdavidsmith