question

MichaSobczyk-2000 avatar image
3 Votes"
MichaSobczyk-2000 asked NagulapalliSrinivasaR-8636 published

TERMINATE event notification for spot instances

We are using following feature for regular instances - https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-terminate-notification. Documentations says it is not supported by spot instances and the rest api claims the same "Virtual Machine Scale Sets with extension scheduledEventsProfile must have property priority set to Regular". Is there any workaround for that? We wish to have notification of TERMINATE event before actual termination.

That feature is crucial for connection draining. Any ideas?

azure-spot
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

NagulapalliSrinivasaR-8636 avatar image
0 Votes"
NagulapalliSrinivasaR-8636 answered NagulapalliSrinivasaR-8636 published

Terminate event notification is supported on SPOT scale-sets as well, a recent change from Microsoft.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.