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?
cluster autoscaler
(which is enabled in my EKS
cluster)
create a new worker node?EBS
volume get increased?If none of the above scenarios happens, How should I deal with it in my cluster? What's the best approach?
What happens when one of these nodes, consumes all of it's allocated
EBS
volume?
DiskPressure
which means that no new Pods are scheduled to the node. You can find more details regarding that topic by checking Configure Out of Resource Handling docs.Does the cluster autoscaler (which is enabled in my EKS cluster) create a new worker node? Or, Does the allocated EBS volume get increased?