Skip to content

Consul TTL Health Check checkID? #57

Open
@ProbablyRusty

Description

@ProbablyRusty

I'd like to be able to implement Consul TTL health checks when running containers, by specifying SERVICE_CHECK_TTL=30s at runtime, but I am wondering if there is a straightforward way for the container to be aware of the checkId for its particular registration, so that, inside the container, I can implement a passing /v1/agent/check/pass/<checkId> call to the Consul API (upstream, Consul agent is not running in the container) to affirm health for the container.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions