Hacker News new | ask | show | jobs
by genmaicha123 1304 days ago
Yup, as of 1.21 drain was still basically a `kubectl` thing – seems like they provided an API for Evictions and for some reason decided not extend that to offer a full 'drain this node' API. That said, Metal3 controllers provide some of this functionality in case you need to manage a bare-metal worker cluster.
1 comments

Any Cluster API provider will drain the node when you run `kubectl delete machine`