gaucho icon indicating copy to clipboard operation
gaucho copied to clipboard

Upgrade service with sidekick

Open mjablecnik opened this issue 7 years ago • 3 comments

Hello how can I with gaucho upgrade service also with sidekick?? When I run: gaucho upgrade 1s137 it upgrade only one container: screenshot

mjablecnik avatar Oct 17 '17 14:10 mjablecnik

Hum, I hadn't had to do this myself so never looked into it. If you can check the API, see what is there to cause the upgrade of the sidekick...

etlweather avatar Oct 18 '17 13:10 etlweather

In line 141, you forgot "secondaryLaunchConfigs" attributes.

# Stuff the current service launch config into the request for upgrade upgrade_strategy['inServiceStrategy']['launchConfig'] = current_service_config['launchConfig'] upgrade_strategy['inServiceStrategy']['secondaryLaunchConfigs'] = current_service_config['secondaryLaunchConfigs'] #[NEW LINE]`

duduti avatar Oct 27 '17 14:10 duduti

I was away for a while, but I'm back. Thanks @duduti for the tip. @Applemann if you want to make the change, I'll be happy to merge it. I personally don't need this functionality at the moment so I won't have time to add this and test that in the next few weeks.

etlweather avatar Dec 03 '17 18:12 etlweather