Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add special BAMBOO_TCP_PORT variable logic to add tcp mode service
Defining BAMBOO_TCP_PORT in the Marathon task definition, e.g. { "id": "test", "cmd": "python -m SimpleHTTPServer $PORT0", "cpus": 0.1, "mem": 90, "ports": [0], "instances": 1 "env": { "BAMBOO_TCP_PORT": "1080" } } leads to listen ::test-cluster-tcp :1081 mode tcp option tcplog balance roundrobin server ::test-192.168.2.2-31001 192.168.2.2:31001 in the haproxy configuration. Fixes QubitProducts#28.
- Loading branch information