longhorn-manager
longhorn-manager copied to clipboard
Share manager HA
Which issue(s) this PR fixes:
This PR is part of https://github.com/longhorn/longhorn/issues/6205 - Share manager HA. It creates the Lease, checks it, and takes action to delete the share-manager pod if it is stale and replace it with one on a different node.
What this PR does / why we need it:
Special notes for your reviewer:
Additional documentation or context
I am marking this PR as a draft because it is not complete. It needs to make the detachment and re-attachment to the new pod happen before the old pod's node goes notReady.