How to access loadbalancer configuration with Rancher API (domains)

Hi,

I want access to the list of domains with service id (GET) in a load balancer with the API, but I do not see this in Rancher API web and neither with gdapi-python.

Tips:
In rancher ui build the list serviceLinksArray with the “consumedServicesWithNames”, I think that with the lb.consumedServices.
https://github.com/rancher/ui/blob/master/app/components/form-service-links/component.js#L32

Any idea?

Balancers are connected to target services in 1.2+ through the balancer > lbConfig > portRules (and the form-balancer-rules component on the UI).

1 Like