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