Skip to content

feat: allow skipping node prechecks on upgrade - #138

Open
ludwighansson wants to merge 1 commit into
postfinance:mainfrom
ludwighansson:main
Open

feat: allow skipping node prechecks on upgrade#138
ludwighansson wants to merge 1 commit into
postfinance:mainfrom
ludwighansson:main

Conversation

@ludwighansson

Copy link
Copy Markdown

Hello,

I've just migrated my previously talhelper-managed clusters onto topf, and I really enjoy it so far!

I came across a scenario the other day where a few nodes were deployed with a broken image, which caused them to get stuck in a "booting" stage, and unable to make them running again.

With the current upgrade implementation, all nodes must be running before topf attempts to upgrade any of them, which might end up in a catch 22 scenario where the user cannot not recover the nodes (no rollback available as the nodes were just deployed), so I decided to implement an option to skip the prechecks for treating this exact scenario. The docs has been updated to describe the flag, as well as pairing it with --nodes-filter to target the problematic nodes only when using this flag.

Happy to hear your thoughts on this!

Cheers!

Allow the user to skip the node prechecks, removing the requirement for
nodes to be 'running'. This is useful if one or more nodes are stuck in
e.g. 'booting' after deploying or upgrading the cluster with a bad
machine image, that never reaches a 'running' state.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant