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

Fix and improve probes #79

Merged
merged 4 commits into from
Sep 29, 2023
Merged

Fix and improve probes #79

merged 4 commits into from
Sep 29, 2023

Conversation

bashofmann
Copy link
Collaborator

@bashofmann bashofmann commented Sep 20, 2023

Fix probes when Qdrant is served over TLS

This also improves the integration test runtime and reliability by not installing a fresh cluster for every test but upgrading it with the new config.

Fixes #77
Fixes #80


Deactivate liveness and startup probes by default

Since these probes restart the pod on failure, they can disrupt the health of the Qdrant cluster unnecessarily and cause more problems then actually help. Having a readinessProbe is usually enough.

Fixes #81

This also improves the integration test runtime and reliability by not installing a fresh cluster for every test but upgrading it with the new config.

Fixes #77
Since these probes restart the pod on failure, they can disrupt the health of the Qdrant cluster unnecessarily and cause more problems then actually help. Having a readinessProbe is usually enough.
@bashofmann bashofmann self-assigned this Sep 20, 2023
@bashofmann bashofmann added bug Something isn't working enhancement New feature or request labels Sep 20, 2023
@bashofmann
Copy link
Collaborator Author

bashofmann commented Sep 20, 2023

I moved from the python client to curl, so that I can properly configure CA certificates, timeouts and retries. Also this way we don't have to load anything from the internet, or build a specialized container image for the tests.

Copy link
Collaborator

@M-Nawar M-Nawar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@bashofmann bashofmann merged commit 264b4cf into main Sep 29, 2023
1 check passed
@bashofmann bashofmann deleted the fix/bashofmann/https-probe branch September 29, 2023 10:31
Copy link

@pansen pansen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
3 participants