This message was deleted.
# cluster-api
a
This message was deleted.
f
I am not sure I correctly understand your question, but in the topic of CAPI, draining is already automated. When scaling nodes, the nodes to be deleted will be drained. When using the RKE2 provider, you can configure a node drain timeout.
r
I am looking to create an operator pattern that does above automatically. Like node rain operator. My question is if its already implemented by rancher or need to be developed ?
Node drain*
f
In the context of CAPI, drain is already implemented and part of the machines lifecycle. If you need to implement custom drain logic however, I don't know at the moment if there is a solution for that