giantswarm / azure-operator

Manages Kubernetes clusters running in in a Giant Swarm installation on Microsoft Azure
https://giantswarm.io/
Apache License 2.0
30 stars 7 forks source link

Drain nodes #1555

Closed whites11 closed 2 years ago

whites11 commented 2 years ago

This PR is about solving the node drain problem during an upgrade. Once a node is deleting, it's not possible to detach disks from the node and that disrupted the upgrade process.

WIth this PR azure operator cordons and drains nodes before deleting them to overcome that problem.