VirtusLab / kubedrainer

Simple Kubernetes Node Drainer
Apache License 2.0
20 stars 10 forks source link

Add drain-delay flag to wait before eviction #13

Closed rtim75 closed 3 years ago

rtim75 commented 3 years ago

This flag allows to specify a period of time for which drainer should wait after cordoning a node. This ensure that for example after instance refresh in EKS pods don't become 'Pending' for some period of time waiting for the new node to come up.

rtim75 commented 3 years ago

@pawelprazak could you take a look and let me know what you think?

pawelprazak commented 3 years ago

Sounds useful, and backwards compatible. Thank you for your contribution.

pawelprazak commented 3 years ago

FYI: https://github.com/VirtusLab/kubedrainer/releases/tag/v0.0.10 was released