Skip to content

Adds Capability to expose Healthcheck on Application port for LB's which can't poll on admin port.#6

Open
d3xt3r-grv wants to merge 2 commits into
phaneesh:masterfrom
d3xt3r-grv:master
Open

Adds Capability to expose Healthcheck on Application port for LB's which can't poll on admin port.#6
d3xt3r-grv wants to merge 2 commits into
phaneesh:masterfrom
d3xt3r-grv:master

Conversation

@d3xt3r-grv

@d3xt3r-grv d3xt3r-grv commented Feb 25, 2022

Copy link
Copy Markdown

Adds a custom resource HealthCheckResource and a healthcheck API at /healthcheck/status
Which uses the HealthCheckRegistry to run all registered healthchecks and return a status code 200: basis all registered healthchecks being healthy OR a 500: basis at-least one healthcheck failing. Basically mocking the default /healthcheck behavior.

Adding this custom resource for LoadBalancers like Traefik which cannot poll on the admin port /healthcheck to determine when to take the app OOR.

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

Successfully merging this pull request may close these issues.

1 participant