-
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
OpenStack specific rolling update should not require separate update cluster process #9635
Comments
It would seem possible for the |
That should be doable. The function name would be a bit misleading though, so if it is used anywhere outside of rolling upgrade, things could get interesting. It may be better to do a check for openstack in |
In clouds with ASGs, |
I had a small peak at this again as this annoys be a bit too. And after previously messing with code in this area I find it not that unreasonable to As far as I can tell, the most viable option is to somehow trigger the update cmd from within |
A way to think about this is as implementing a (semi-)ASG in kops. Have the cloudup model save the all the information needed to create an instance for each group in a cloud-provider-specific file in the config store. Then the Wrap a controller around it and you could have an actual ASG. |
So it looks like you need a |
Basically all that is needed is to run ServerGroupModelBuilder, I believe. So I think I'll try a new loader that only uses this builder. |
So "only using this builder" ends up pulling in most of regular apply, it seems. ServerGroup depends on BootstrapScript which depends on a host of other things. |
I suggest storing the bootstrapscript for each group as a file in the config store. |
Nice work, thanks very much! |
Hi,
Rolling an OpenStack based kops cluster you have to open a separate terminal and run kops-update cluster --yes in a never ending loop. All this does as far as I can tell is create new vm's that have just been terminated by the rolling upgrade to replace them.
Kops on AWS for example does not require this. I guess it's an AWS autoscaling group ensuring a new instance is being created, so kops does not have to bother. Unfortunately OpenStack does not have autoscaling groups.
Would be great if there could be something in the rolling update loop after draining/deleting a node like: "if openstack then createMissingNewNodes" (borrowed from existing kops update cluster code).
Not exactly sure if this is a feature request or a bug fix, depends on how you look at it I think ;-)
Best,
kciredor
The text was updated successfully, but these errors were encountered: