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

Add healthcheck before deploy #52

Merged
merged 2 commits into from
Feb 18, 2023
Merged

Add healthcheck before deploy #52

merged 2 commits into from
Feb 18, 2023

Conversation

dhh
Copy link
Member

@dhh dhh commented Feb 18, 2023

Ensure your app responds with 200 OK to GET /up before allowing a deploy or redeploy to go through.

MRSK defaults to checking the health of your application again /up on port 3000. You can tailor both with the healthcheck setting:

healthcheck:
  path: /healthz
  port: 4000

This will ensure your application is configured with a traefik label for the healthcheck against /healthz and that the pre-deploy healthcheck that MRSK performs is done against the same path on port 4000.

@dhh dhh merged commit 94b4461 into main Feb 18, 2023
@dhh dhh deleted the health-check-with-deploy branch February 18, 2023 15:24
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