Skip to content

Health check command #685

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

Closed
adriangb opened this issue Jan 30, 2024 · 2 comments
Closed

Health check command #685

adriangb opened this issue Jan 30, 2024 · 2 comments

Comments

@adriangb
Copy link
Contributor

Is your feature request related to a problem? Please describe.

When deploying it's good to have some sort of healthcheck.

Describe the solution you'd like

A command (binary) like pgcat health <some connection info? that can be set up as an exec probe on k8s deployments.

Describe alternatives you've considered

Rebuilding the image myself to include e.g. psql so I can use that as a probe.
This has the con of requiring a rebuild on my end, bloating the image and having to figure out what username/password I'm going to use, etc. (probably the admin username/password makes sense).

@rmenn
Copy link

rmenn commented Feb 2, 2024

it has been added in #607 i dont believe there has been a release after, if you pull the latest image its present

root@a6f7cd205063:/etc/pgcat# which psql 
/usr/bin/psql

@adriangb
Copy link
Contributor Author

adriangb commented Feb 2, 2024

Nice!

@adriangb adriangb closed this as completed Feb 2, 2024
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

No branches or pull requests

2 participants