QubitProducts / bamboo

HAProxy auto configuration and auto service discovery for Mesos Marathon
Apache License 2.0
793 stars 214 forks source link

Support Ip per container #204

Open duffqiu opened 8 years ago

duffqiu commented 8 years ago

Right now, mesos and marathon have supported ip per container,

But Bamboo only support to get the IP in this solution without container port

Any suggestion?

cloverstd commented 7 years ago

I can not found IP-per-task in Marathon Event-Bus.

Bamboo can not get container ip from Marathon.

cloverstd commented 7 years ago

When set IP-per-task, The Marathon could not set portmapping, so Bamboo can not get it.

I try to set Env to Container like SERVICE_PORT="8080:8080;8081:8081", I can get the port in bamboo and rewrite the template, but i can not get the ip of container.