Skip to content

Distributed Deployment - ALB Healthchecks #1464

Answered by mieliespoor
mieliespoor asked this question in Q&A
Discussion options

You must be logged in to vote

Just to reply in a separate message to be able to mark this question as answered.

To enable health checks on the container, you need to check the /healthz endpoint on the introspection port. The default configuration has introspection running on port :8089, so the health check would then be http://localhost:8089/healthz

Keep in mind that this port might not be exposed by the container, so in addition to the service port, default being :6060 port :8089 might also need to be exposed.

When you then run you container in something like AWS ECS, the ALB configuration would look something like this...
ALB:
Listener:
Port: 443:6060
TargetGroup:
Port: 6060
HealtCheck Port: 8089
HealthCheck Path: /…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@hdonnay
Comment options

@mieliespoor
Comment options

@hdonnay
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by mieliespoor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants