An open API service indexing awesome lists of open source software.

https://github.com/containersolutions/marathon-haproxy-subdomain-bridge


https://github.com/containersolutions/marathon-haproxy-subdomain-bridge

Last synced: about 1 year ago
JSON representation

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.