https://github.com/containersolutions/marathon-haproxy-subdomain-bridge
https://github.com/containersolutions/marathon-haproxy-subdomain-bridge
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/containersolutions/marathon-haproxy-subdomain-bridge
- Owner: ContainerSolutions
- Created: 2015-02-16T15:03:21.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-07T14:20:45.000Z (about 11 years ago)
- Last Synced: 2025-04-09T09:27:40.752Z (about 1 year ago)
- Language: Go
- Size: 259 KB
- Stars: 2
- Watchers: 46
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Marathon HaProxy Subdomain Bridge
===
Why?
====
When deploying an app 'myapp' to Marathon we want to access it at myapp.domain.tld
How?
====
The bridge.go program uses Marathon's tasks API to regerenate HaProxy config. It is called by the haproxy.cron every minute and then the
refresh-haproxy script moves the config into /etc/haproxy/haproxy.cfg and reloads HaProxy.
Install
====
Run the install-bridge.sh script to install the scripts + cron file to machines in the Mesos cluster.