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

chore: Switch liveness probe to tcp socket instead of httpGet #637

Merged
merged 3 commits into from
Jan 8, 2025

Conversation

sbernauer
Copy link
Member

@sbernauer sbernauer commented Jan 7, 2025

Description

In SUP-159 a customer wanted to enable security for the Namenode HTTP API.
This resulted in /dfshealth.html returning a 401 instead of a 200 - thus failing the liveness probe.

This PR allows customers to configOverride security for the HTTP APIs (hopefully until we support them natively)

We intentionally did not write a curl script that checks for 200 or 401 but just went with the TCP port.

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

Preview Give feedback

Reviewer

Preview Give feedback

Acceptance

Preview Give feedback

@sbernauer sbernauer changed the title chore: Switch WebUI liveness probe to tcp socket instead of httpGet chore: Switch liveness probe to tcp socket instead of httpGet Jan 7, 2025
Co-authored-by: Siegfried Weber <mail@siegfriedweber.net>
Copy link
Member

@siegfriedweber siegfriedweber left a comment

Choose a reason for hiding this comment

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

LGTM

@sbernauer
Copy link
Member Author

Thanks for the review!

@sbernauer sbernauer added this pull request to the merge queue Jan 8, 2025
Merged via the queue into main with commit ac6dc70 Jan 8, 2025
17 checks passed
@sbernauer sbernauer deleted the chore/switch-web-ui-probe-to-tcp-port branch January 8, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

3 participants