Terraform Modular EKS + Istio — Part 4
EKS Node Groups (Where Your Cluster Actually Gets Compute) In the previous part, we created the EKS control plane. At that point: Kubernetes API exists Cluster is reachable But: 👉 There are no mac...

Source: DEV Community
EKS Node Groups (Where Your Cluster Actually Gets Compute) In the previous part, we created the EKS control plane. At that point: Kubernetes API exists Cluster is reachable But: 👉 There are no machines to run workloads That’s where Node Groups come in. This module creates the actual EC2 instances that: join the cluster run pods execute your applications 📂 Module Files modules/eks-nodes/ ├── main.tf ├── variables.tf └── outputs.tf 📄 variables.tf variable "cluster_name" { description = "Name of the EKS cluster" type = string } variable "node_group_name" { description = "Name of the EKS node group" type = string } variable "node_role_arn" { description = "ARN of the EKS node group IAM role" type = string } variable "subnet_ids" { description = "List of subnet IDs" type = list(string) } variable "instance_types" { description = "List of instance types" type = list(string) default = ["t3.large"] } variable "desired_size" { description = "Desired number of nodes" type = number default = 1