I've created an EKS cluster using this terraform module:
module "eks" {
...
worker_groups = [
{
name = "worker-group-1"
instance_type = "t2.small"
asg_desired_capacity = 2
}
]
}
As you can see, It creates a worker group of t2.small EC2 instances. t2.small instances are EBS-backed and have 20 GiB of EBS volume by default. What happens when one of these nodes, consumes all of it's allocated EBS volume?
- Does the
cluster autoscaler(which is enabled in myEKScluster) create a new worker node? - Or, Does the allocated
EBSvolume get increased?
If none of the above scenarios happens, How should I deal with it in my cluster? What's the best approach?