When a user launches a Domino execution, part of the start-up process is loading the user’s environment onto the node that will host the execution. For large images, the process of transferring the image to a new node can take several minutes. After an image has been loaded onto a node once, it gets cached, and future executions that use the same environment will start up faster.
When running Domino on EKS, you can pre-cache popular environments and base images on the Amazon Machine Image (AMI) used for new nodes. This can significantly speed up the start time of executions on new nodes. This topic describes how to create a new AMI with cached environments and configure EKS to use it for new nodes.
In addition to any dependencies required by Kubernetes, your AMI must contain the following:
Cache of Domino’s compute environments
NVIDIA-Docker 2 (GPU nodes only)
NVIDIA GPU driver 410+ (GPU nodes only)
Change the default Docker runtime (GPU nodes only)
For simplicity, Domino recommends that you use the official EKS default AMIs, which come pre-configured with Docker and the GPU tools.
You can also use Amazon’s build scripts to create your own AMI for use with EKS.