planetlabs / draino

Automatically cordon and drain Kubernetes nodes based on node conditions
Apache License 2.0
623 stars 83 forks source link

Support for taint based eviction? #95

Open ronaknnathani opened 4 years ago

ronaknnathani commented 4 years ago

Hello Draino Community,

We have been looking at some options to evict workloads from unhealthy nodes and looking at Draino as one of them. I wanted to understand is there a plan to have draino support taint based evictions anytime in the future?

Also, I only see one release that dates back to Dec 2018 while the commit history is quite recent and active. Are you planning on any recent releases?

If this is not the right place for these questions, happy to discuss them elsewhere. Just let me know.

Thanks, Ronak

dbenque commented 4 years ago

👋 I am not going to talk for draino project here but share my experience on the topic, because I am facing the same issue. Draino is relying on the eviction API. Such API would not give any result on pods that are hosted by a notReady node. This lead me to the conclusion that the problem should be tackle elsewhere in the system. And here is where I continue to work on that topic: https://github.com/kubernetes/autoscaler/issues/3407