Hello @XavierM ,
So essentially, you'll need to setup/install the new app version or run the deployment of the new app version on any VM or VMSS instance and it should update if that exists on the current iteration, or it will remove the old version and install the new one.
This is simply deploying the application again as if you were deploying the first time. The difference is that if it is already there it should use the update command that you provided on the first install of the app. If that update command doesn't exist, it will remove the old version and install the new version using the remove/install commands.
Hope this helps? Please feel free to reach back if you have any question. Tag me in you response. Thanks.
-------
If you find the above information helpful, kindly accept as answer
or upvote
to increase the relevancy of this post.
Hi, thanks for your answer :)
You mean updating the VMSS using a command like this one:
With $versionId as the resource id of the new version to use ?
Because when I did that the command was accepted, but after execution the old version was still in place on the VMSS.
Maybe I should do something on the instances directly ?