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

health check and status interface #62

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

peterfroehlich
Copy link

We are using resec on Nomad and ran into race conditions on deployments with our bigger clusters (>5gb data).

We implemented an health check interface to monitor if all data synced successfully. Nomad can use this to control the deployment process and only progresses if the instance is in sync and ready. We are using this on our production systems and deployments work well now.

Additionally the http interface exposes the resec states and redis info output as well. The interface is disabled by default and the listen address can be configured.

I've added an example with a more complex Nomadconfig, with health checking, blue/green deployment and metrics sidecar as well.

@peterfroehlich peterfroehlich changed the title Resec health check and status interface health check and status interface May 7, 2021
@0xlee
Copy link

0xlee commented Jan 13, 2022

Also added a feature announcing elected master to zookeeper.

@bdossantos
Copy link

Hi, thank you for this contribution. It would be cool if it merged, especially the health check route ... :/

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.

3 participants