Search code examples
terraformgpuamazon-ekskarpenter

bootstrap.sh: Karpenter with custom lanuch templates


The Karpenter default OS, Amazon Linux 2 (AL2), accepts shell scripts (bash commands).

Karpenter supports using custom launch templates

In the default configuration, Karpenter uses an EKS optimized version of AL2 (Amazon Linux 2) (https://karpenter.sh/v0.13.2/aws/launch-templates/) and passes the hostname of the Kubernetes API server, and a certificate. The EKS Optimized AMI includes a bootstrap.sh (https://github.com/awslabs/amazon-eks-ami/blob/master/files/bootstrap.sh) script which connects the instance to the cluster, based on the passed data.

I need to use Ubuntu 20.04 with Cuda 11.6 instead of AL2. Is there any bootstrap for Ubuntu AMI? Or any related docs I may read to write the bootstrap.sh for Ubuntu 20.04 with Cuda 11.6?


Solution

  • ...need to use Ubuntu 20.04 with Cuda 11.6

    Official document is here, image information is here. Deploy the GPU driver here.