Azure Loadbalancer must delete unhealthy VM of Azure VMSS
I have create Azure VMSS behind Public Azure Std LB with HTTP based Health Probe. Azure Loadbalancer is working as per expectation. But If VM is unhealthy then it must be deleted or re-provisioned. So that machine can attain healthy state again.
I’d like to ask you for more feedback on this request please. Load Balancer doesn’t control the VMSS. I think what you’re looking for is a way for VMSS to replace any instances with a LB health probe status of 0. I’ve reached out to VMSS team to get their input. LB is likely not the right place to do this.
This is correct. The VMSS needs to be aware of the health status of the VMs it is managing (exactly as ASGs function on AWS) this allows auto-healing of Scale Sets for any use-case whether they use LBs or not.
Same applies with service gateway and need to handled as feature.
This is a big issue left unhealthy VM on LB need to be remove and repalce.
Michael Frank commented
I figured out how to make this work. Switch to AWS. They had this feature 10 years ago.
Can you please suggest best possible solution for this or otherwise please implement it !
Biren Negi commented
suggestion is valid Microsoft should be add this fetuses
For more details please go through this link https://github.com/MicrosoftDocs/azure-docs/issues/29000
Deepak Kumar commented
Or at least must have some option to trigger custom script