- Newest
- Most votes
- Most comments
Hi,
To get a full example of provisioning specific instance nodes with AWS EKS AutoMode, please, read https://devopslearning.medium.com/aws-eks-auto-mode-a-game-changer-or-just-hype-my-unbiased-take-18de17c4484a
Section 2. "Customizing Instance Categories While Creating Nodes in AWS EKS Auto Mode via UI": it uses custom labels and configurations through APIs or CLI commands to influence the instance types within a NodePool.
Best,
Didier
To provision GPU nodes in an EKS Auto Mode cluster, you're on the right track with your NodePool configuration. Here's how you can refine your approach and create GPU nodes effectively:
- NodePool Configuration: Your provided YAML configuration is a good starting point. It correctly specifies the requirements for GPU instances, including the instance category (g4dn, g5), GPU manufacturer (NVIDIA), GPU count, and instance size. However, you might want to consider the following adjustments:
- Ensure that the specified zone "ap-southeast-1" is correct. Typically, you'd want to specify multiple availability zones for better resilience.
- The CPU and memory limits seem quite high. Adjust these based on your actual needs.
- NodeClass Configuration: While you're using the default NodeClass, you can create a custom NodeClass for more specific GPU configurations. Here's how you can create a custom NodeClass:
- Create a YAML file (e.g., gpu-nodeclass.yaml) with your NodeClass configuration.
- Include specific settings for GPU nodes, such as additional EC2 tags or custom IAM roles if needed.
- Apply the configuration to your cluster using kubectl.
-
GPU Support: EKS Auto Mode includes built-in support for GPU plugins, which simplifies the process of using GPU nodes. This means you don't need to manually install the NVIDIA device plugin.
-
Verification: After applying your NodePool configuration, verify that the GPU nodes are being provisioned correctly:
- Check the node labels to ensure they have the correct GPU-related labels.
- Run a test pod that requires a GPU to confirm that scheduling works as expected.
- Considerations:
- Ensure your AWS account has the necessary limits to create the specified GPU instances.
- Be aware of the costs associated with GPU instances, as they are typically more expensive than standard compute instances.
By following these steps and adjusting your configuration as needed, you should be able to successfully provision GPU nodes in your EKS Auto Mode cluster. Remember to monitor your cluster's performance and adjust the NodePool and NodeClass configurations as your workload requirements change.
Sources
Create a Node Pool for EKS Auto Mode - Amazon EKS
Automate cluster infrastructure with EKS Auto Mode - Amazon EKS
Create a Node Class for Amazon EKS - Amazon EKS
answered 2 years ago
In this blog post we show you how to swiftly deploy inference workloads on EKS Auto Mode. We also demonstrate key features that streamline GPU management, show best practices for model deployment, and walk through a practical example by deploying open weight models from OpenAI using vLLM.
Relevant content
asked a year ago
asked a year ago
asked a month ago
- AWS OFFICIALUpdated a year ago

The config is wrong, I tried applying it but the crd error is coming