-
Notifications
You must be signed in to change notification settings - Fork 130
Add proposal for temporary preservation of machines #1031
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
base: master
Are you sure you want to change the base?
Add proposal for temporary preservation of machines #1031
Conversation
20d8f8f
to
9fbdb30
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to reach out to me directly for precision!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the proposal. I've put some comments, while reading it I felt we have not considered all the personas who can consume this feature.
- Operators who will manipulate the machine/node objects.
- Stakholders who will maniuplate the shoot spec.
- Stakeholder who will manipulate the node objects.
Another dimension which I don't see mentioned is how is this state conveyed as part of shoot status and the dashboard.
Failed
machines for diagnosticsFailed
machines for diagnostics
Failed
machines for diagnostics0b621a2
to
849a99d
Compare
- `machine.CurrentStatus.PreserveExpiryTime` is updated by MCM as $machine.CurrentStatus.PreserveExpiryTime = currentTime+machinePreserveTimeout$ | ||
- After timeout, the phase is changed to `Terminating`. | ||
- Number of machines in `Failed:Preserved` phase count towards enforcing `autoPreserveFailedMax`. | ||
7. If a failed machine is currently in `Failed:Preserved` and before timeout its VM/node is found to be Healthy, the machine will be moved to `Running`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this not be moved to Running:Preserved
?
What this PR does / why we need it:
This PR introduces a proposal to support the temporary preservation of machines.
The use cases have been discussed here.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note: