wongnai / kube-slack

Kubernetes Slack Monitoring
MIT License
323 stars 59 forks source link

Drain support #33

Open deimosfr opened 6 years ago

deimosfr commented 6 years ago

Hi,

While draining a node, some pods will never stop (example kube-proxy, calico etc...). The problem is when you reboot a node when he has been drained but has kept some pods, I receive a lot of alerts (1 per pod saying not ready). It would be great to filter only on non drained nodes to avoid a such behavhior.

What do you think ?

Thanks

whs commented 6 years ago

That would be a great enhancements.

Sorry for the slow reply, I've been wishing I have time to implement this but that doesn't seem to be possible. Feel free to submit patch in the mean time.