Load Balancer - Advanced Routing - API

Hey folks,

Maybe I’m just a little daft this afternoon but I can’t seem to find where one would edit/update the advanced routing of a load balancer via the API.

It can be found as part of this object <rancherserver>/v1/schemas/loadBalancerServiceLink

http://docs.rancher.com/rancher/api/api-resources/loadBalancerService/

If you search the docs, you can find “setservicelink”.

1 Like

I created a simple agent that updates my load balancer whenever a new service starts/stops. Its pretty basic code but feel free to use/modify it as you need.

Thanks. I’ll have a look.