gaucho
gaucho copied to clipboard
Upgrade service with sidekick
Hello how can I with gaucho upgrade service also with sidekick??
When I run: gaucho upgrade 1s137
it upgrade only one container:
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...
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]`
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.