Last modified April 4, 2023

Handling impaired EBS Volumes

What happens when EBS Volumes are impaired

When an EBS Volume is stuck in an attaching state for more than 30 minutes, the node is marked as unschedulable with the following taint:

- effect: "NoSchedule"
  key: "NodeWithImpairedVolumes"
  value: "true"

This stops Pods from being scheduled on the node, to reduce the impact of EBS Volumes not being able to be attached.

Giant Swarm will take care to drain and terminate nodes with this taint.

What if my workloads don’t need EBS Volumes

If your pods don’t require EBS Volumes, it may be helpful to tolerate the above taint. This can be helpful in the case where a node is tainted, but you still wish for workloads to be scheduled onto that node.

Setting the following toleration:

- effect: "NoSchedule"
  key: "NodeWithImpairedVolumes"
  operator: "Exists"

Further reading