Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Automatically manage number of longhorn replicas upon node deletion. #564

Closed
2 tasks
MiroslavRepka opened this issue Feb 6, 2023 · 1 comment · Fixed by #648
Closed
2 tasks
Assignees
Labels
feature New feature groomed Task that everybody agrees to pass the gatekeeper

Comments

@MiroslavRepka
Copy link
Contributor

Motivation

Currently, when a node contains a longhorn volume and we delete that node, a new replica of the volume is not created. The longhorn devs advise to temporarily increase the replica count, so a new one is scheduled and then decrease it back to the desired number. By doing this, we assure the volume will be accessible as long as there are any nodes assigned to that storage class. There will be a need for some additional logic, like checking if a new replica can be even created, or maybe deleting the old replica (from the deleted node).

Description

Claudie should try to manage longhorn volume replicas when deleting a node from the cluster.

Exit criteria

  • The replicas are now created whenever possible on a node deletion.
  • The docs will document how node deletion work in regard to the storage.
@MiroslavRepka MiroslavRepka added the feature New feature label Feb 6, 2023
@MiroslavRepka MiroslavRepka changed the title Feature: Automatically update number of longhorn replicas upon node deletion. Feature: Automatically manage number of longhorn replicas upon node deletion. Feb 6, 2023
@Despire Despire added the groomed Task that everybody agrees to pass the gatekeeper label Feb 10, 2023
@MiroslavRepka MiroslavRepka self-assigned this Mar 17, 2023
@MiroslavRepka
Copy link
Contributor Author

Comment about how to change number of replicas via kubectl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature groomed Task that everybody agrees to pass the gatekeeper
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants