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

enhancement: support for consul TCP health checks #225

Closed
Kosta-Github opened this issue Aug 10, 2015 · 4 comments
Closed

enhancement: support for consul TCP health checks #225

Kosta-Github opened this issue Aug 10, 2015 · 4 comments

Comments

@Kosta-Github
Copy link

consul just recently added support for native TCP health checks (hashicorp/consul#1130). Can this be be supported by registrator as well?

With something like:

SERVICE_<PORT>_CHECK_TCP=true
@anklos
Copy link

anklos commented Nov 2, 2015

Also looking for supoort for consul health checks.

just wonder what is the check here: https://github.com/gliderlabs/registrator/blob/master/consul/consul.go#L62?

@anklos
Copy link

anklos commented Nov 2, 2015

actually you can put metadata in dockerfile to define SERVICE_CHECK_HTTP for the health check endpoint.

@ianmcorvidae
Copy link

I believe this issue should be closed, TCP checks are now supported.

@ralphQi
Copy link

ralphQi commented Aug 30, 2016

"SERVICE__CHECK_TCP=true" dose not work

my solution is "SERVICE_CHECK_SCRIPT=nc -z ip port"

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

No branches or pull requests

5 participants