Terraform EKS with Karpenter, Graviton, and Spot Instances

Overview This repository contains Terraform code to deploy an EKS cluster on AWS, utilizing Karpenter for efficient node autoscaling. The cluster supports both x86 (amd64) and Graviton (arm64) architectures. Additionally, the configuration leverages Spot Instances for cost efficiency and includes a demonstration deployment for users to test the setup. Prerequisites Before using this Terraform repository, ensure you have the following installed: Terraform (latest version) AWS CLI (configured with credentials for your AWS account) kubectl (for interacting with the EKS cluster) It needs to be made sure that service-linked role is created for creation of spot instances. It can be created with command. ...

December 15, 2024 · 3 min