goal is simple, do not forward the traffic from ILB to the service deployed on the VM if it is busy (e.g. CPU>80%), if the CPU getting idle, re-add it back to the ILB rotation routine.
Did some reading, some people suggests using custom probe, the ILB will check the probe status every 15 seconds, return a certain code to indicate service is healthy.
Question, could someone help point a direction on how to implement this type of CPU performance based probe?
Much appreciated.
https://ninithepug.wordpress.com/