-
Notifications
You must be signed in to change notification settings - Fork 79
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
fix(notready): condition failed #197
Conversation
Signed-off-by: Anthony BESCOND <anthony.bescond@kiln.fi>
c6049ca
to
e0d91c0
Compare
/assign @antmoveh |
Your design modifies the conditions under which pods are rebuilt. Only those with special annotations are not allowed to migrate. This can cause some unnecessary trouble, such as node Notready, Pod migration pvc is rebuilt data loss In most cases, data migration is performed in the database master/slave cluster Data loss occurs when a single-master database is migrated |
Hello @antmoveh , My understanding is on the contrary, it make the default to skip if error or annotation not found. Here the call where we skip clearPod and LV clearing. Return true or error will not take any action, and keep Volume where it is according to function naming "skipLv". https://github.com/carina-io/carina/blob/main/controllers Now my modifications :
I might fix the last line to be triggered only when annotation is true (instead of not false), but to my understanding, other lines are fine and fix behavior. Thanks for reading and please advise in case I missed something. |
/approve |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: antmoveh, redref The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Reworked condition around "NotReady" node.
Workflow :
Should not impact any other usecase. Only default when pod is not found.