-
Notifications
You must be signed in to change notification settings - Fork 312
Enhance healthcheck failure handling and logging #4595
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4595 +/- ##
==========================================
- Coverage 47.76% 47.74% -0.03%
==========================================
Files 370 370
Lines 29839 29855 +16
==========================================
Hits 14253 14253
- Misses 14479 14495 +16
Partials 1107 1107 |
aebf147
to
cce9ac7
Compare
Signed-off-by: Teresa Romero <teresa@okteto.com>
Signed-off-by: Teresa Romero <teresa@okteto.com>
Signed-off-by: Teresa Romero <teresa@okteto.com>
Signed-off-by: Teresa Romero <teresa@okteto.com>
703f38b
to
1293085
Compare
Signed-off-by: Teresa Romero <teresa@okteto.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a comment about how we check the error, but apart from that, everything else looks good, and it is working as expected
Signed-off-by: Teresa Romero <teresa@okteto.com>
Proposed changes
Fixes https://okteto.atlassian.net/browse/DEV-260
This PR proposes a change to show an information log whenever a readiness probe is failing and a service is waiting for being deployed.
It keeps the behaviour of returning an error when a liveness probe fails.
Refactors:
Events: detect the readiness and the liveness probe fail message and return new
Failure
so the code can identify the origin.Pod probes detection: when readiness fails, log a message while waiting for being deployed, when livenes return error.
How to validate
Build the binary and configure different probes and healthchecks