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

K8SSAND-1652 ⁃ Use httpGet as liveness / readiness check instead of wget and add a timeout #369

Closed
burmanm opened this issue Jul 13, 2022 · 0 comments
Labels
backport Feature requires backporting to older release branches enhancement New feature or request

Comments

@burmanm
Copy link
Contributor

burmanm commented Jul 13, 2022

What is missing?
We use wget to do the liveness / readiness check for the management-api, without timeout. This might cause the wget calls to hang and they will never return.

There's no reason to do it with wget anymore, Kubernetes these days has httpGet support for the liveness / readiness checks and we should take advantage of that. Management-api should have those resources always available without the need for TLS calls.

Why do we need it?

Environment

  • Cass Operator version:

    Insert image tag or Git SHA here

    **Anything else we need to know?**:

┆Issue is synchronized with this Jira Task by Unito
┆Issue Number: K8SSAND-1652
┆priority: Medium
┆Link To Issue: https://k8ssandra.atlassian.net/browse/K8SSAND-1652

@burmanm burmanm added the enhancement New feature or request label Jul 13, 2022
@sync-by-unito sync-by-unito bot changed the title Use httpGet as liveness / readiness check instead of wget and add a timeout K8SSAND-1652 ⁃ Use httpGet as liveness / readiness check instead of wget and add a timeout Jul 13, 2022
@burmanm burmanm added the backport Feature requires backporting to older release branches label Jul 13, 2022
@burmanm burmanm closed this as completed Jul 19, 2022
burmanm added a commit that referenced this issue Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Feature requires backporting to older release branches enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant