-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
add default http health check #9586
base: main
Are you sure you want to change the base?
Conversation
This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Welcome @hassenius! |
Hi @hassenius. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@rikatz @ElvinEfendi before I put more effort into this, would like to get feedback if you feel this is a suitable approach to addressing cases where nginx has issues responding to user traffic (i.e. port 80), but still responds to the healthcheck port. There are demonstratable cases where this occurs, and the current health check implementation does not pick that up. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: hassenius The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Trying to push this improvement suggestion a bit. We had a situation where nginx configuration reload resulted in an invalid configuration due to a load_module not being able to find a particular library. Nginx was not able to handle requests but due to the liveness probe being healthy, it still got forwarded traffic by the service. Extending the health check like that should also mitigated issues like that! |
/ok-to-test Please rebase over main and ping me on Slack to further review. |
What this PR does / why we need it:
This is an initial draft to get feedback from maintainers.
Current health checks do not fail if nginx stop responding on default http port (meaning it is not healthy from an end-users perspective).
Types of changes
Which issue/s this PR fixes
fixes #9067
How Has This Been Tested?
Checklist:
Does my pull request need a release note?
Any user-visible or operator-visible change qualifies for a release note. This could be a:
No release notes are required for changes to the following:
For more tips on writing good release notes, check out the Release Notes Handbook