-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Prevent instance group from being managed by rolling-update #7685
Comments
I do not see benefit this feature because it do exist already. When rolling updating you can specify instancegroups for it |
This is fine as long as you're the only cluster manager or you have a small amount of clusters under your control. Things are used to be forgotten, so kind of protection that's managed in code would be useful. |
/area rolling-update |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@justinsb Now that surging has landed, I'd like to come to a conclusion on your deferred review comment about the method I chose to disable rolling updates for an instance group. Currently rolling updates are disabled for an instance group by setting both /remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
With node-local storage and post-replacement sync, the solution is to use a PodDisruptionBudget. One can include an additional Deployment in the scope of the PDB's selector, providing a pod that indicates ready only when the database has adequate replication. |
1. Describe IN DETAIL the feature/behavior/change you would like to see.
In some cases it's necessary to manage instance group manually (for e.g. when instance store implied and some time required for node to sync up after recreation).
I'm not sure if
instanceProtection
helps with that, please let me know... and if it's not:2. Feel free to provide a design supporting your feature request.
Introduce flag
skipRollingUpdate
for IG configuration defaulted tofalse
. It will be operator responsibility to manage instance replacement in ASG in a graceful way.The text was updated successfully, but these errors were encountered: