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

Implement etcd member management in pre-terminate hook #435

Commits on Sep 16, 2024

  1. Implement etcd member management in pre-terminate hook

    Signed-off-by: Danil-Grigorev <[email protected]>
    Danil-Grigorev committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    679d205 View commit details
    Browse the repository at this point in the history
  2. Prevent removing non-drained machine for rke2 case

    Signed-off-by: Danil-Grigorev <[email protected]>
    Danil-Grigorev committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    eb09be3 View commit details
    Browse the repository at this point in the history
  3. Propagate PreTerminateHookCleanupAnnotation on old machines

    - Lint fixes
    
    Signed-off-by: Danil-Grigorev <[email protected]>
    Danil-Grigorev committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    931e7cc View commit details
    Browse the repository at this point in the history
  4. Ensure last machine removed does not wait for hook

    When the last machine is in a deleting state, this means that cluster is
    removed also. In such scenario, waiting for draining is not feasible,
    because it is performes only when node deletion is allowed. Which is
    not, due to cluster removal. Cluster API prevents draining with the
    "cluster is being deleted" error.
    
    Signed-off-by: Danil-Grigorev <[email protected]>
    Danil-Grigorev committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    ed7e467 View commit details
    Browse the repository at this point in the history
  5. Ensure running machines always contain hook annoation

    Signed-off-by: Danil-Grigorev <[email protected]>
    Danil-Grigorev committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    fc6f21d View commit details
    Browse the repository at this point in the history