Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use registrator-style environment variables in Mesos #6

Open
BrianHicks opened this issue Jun 4, 2015 · 2 comments
Open

use registrator-style environment variables in Mesos #6

BrianHicks opened this issue Jun 4, 2015 · 2 comments

Comments

@BrianHicks
Copy link
Contributor

or labels. What would be the most appropriate thing to expect here?

@stevendborrelli @ChrisAubuchon

@stevendborrelli
Copy link
Contributor

I'd rather use mesos labels.

@BrianHicks
Copy link
Contributor Author

So, labels:

{
    "HTTP_PORT_0_NAME": "x",
    "HTTP_PORT_1_NAME": "y"
}

This replaces HTTP_PORT_IDX_0_NAME in the current Marathon configuration, and would remove HAPROXY_HTTP=true. haproxy-consul would just forward any port indices which are set in this way, rather than relying on a separate variable.

How's that sound?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants