aws-samples / amazon-k8s-node-drainer

Gracefully drain Kubernetes pods from EKS worker nodes during autoscaling scale-in events.
Other
199 stars 57 forks source link

How does this draining flow differs from EKS build-in mechanisms? #54

Open asaf400 opened 1 year ago

asaf400 commented 1 year ago

Hello, I was recently facing nodegroup update rollout issues, and when looking to have more control, or have the flow of instance replacement more verbose, I stumbled upon this repo, but the README.md fails to specify in what way specifically the lambda function hook differs from the EKS API build-in nodegroup managements and draining machinery - which is documented here and here

where nodes are naturally terminated at the end of an update like AMI change..

from what I've seen in a live cluster, the 'default' flow also condons and waits for pods to drain..