Add LB Target from compose

Howdy,

Say I have a stack “LoadBalancer” that runs an keepalived container and a rancher service loadbalancer. Now I have a new catalog that adds a whole new stack, say “FooApp”. How can I add a LB target to the loadbalancer in “LoadBalancer” stack from the compose files? I can’t figure it out… Maybe not possible?

For basic routing, I think it works with using selector labels (http://docs.rancher.com/rancher/v1.2/en/cattle/labels/#selector-labels), but then you can’t use specific routing rules, which are often needed when there are many services involved… see related github issue for alot more details on the progress of supporting this:

https://github.com/rancher/rancher/issues/2179