Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Possible to restart scale set instances one at a time, with respect to the health probe?

$
0
0
I have set up a virtual machine scale set with more than one vm instance inside, and I have configured a http "health probe" (application health extension), as well as a rolling upgrade policy (if that is relevant in any way). But when I perform a restart all instances are restarted at the same time. It doesn't matter if I click "Restart" of the scale set itself in the "Overview" tab, or selecting all instances in the "Instances" tag and then clicking "Restart", the behavior is the same.

What I expected to happen was that the scale set restarted one instance, then waited until it became available with a positive health check (using the http health probe defined), and only after that it should have started with the second instance (and so on, until all instances are restarted). The way I see it, this should be the default, automatic, behavior of a scale set. Maybe an alternative solution could be that it always kept at least X percent of the instances running (meaning it can restart some of them in parallel, if there are several instances in total).

Is there any way to configure the scale set to handle restarts like this? I don't want to have to handle it manually, by checking the health status of one instance before restarting the next one. And preferably I would want a solution that only uses Azure Portal configuration and no script (I would like to be able to do this kind of restart using the Azure App, for example).

Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>