-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Deployment probe fixes #13885
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
Deployment probe fixes #13885
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #13885 +/- ##
=======================================
Coverage 86.23% 86.23%
=======================================
Files 199 199
Lines 14706 14749 +43
=======================================
+ Hits 12681 12719 +38
- Misses 1725 1729 +4
- Partials 300 301 +1 see 4 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
cmd/domain-mapping-webhook/main.go
Outdated
| }) | ||
|
|
||
| sharedmain.WebhookMainWithContext(ctx, "domainmapping-webhook", | ||
| sharedmain.WebhookMainWithContext(sharedmain.WithHealthProbesDisabled(ctx), "domainmapping-webhook", |
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.
can we wrap the context on a separate line so it reads better
ctx = sharedmain.WithHealthProbesDisabled(ctx)| scheme: HTTP | ||
| periodSeconds: 5 | ||
| failureThreshold: 5 | ||
| failureThreshold: 6 |
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.
I think we want the failureThreshold for readinessProbes to be lower than the failureThreshold for livenessProbes. Otherwise, we're choosing to terminate the container before we remove it from the active set (which was the issue that Julz filed).
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.
Correct the order of probes tricked me.
ReToCode
left a comment
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.
Other than existing comments, LGTM.
|
bump @skonto - release is tomorrow |
|
@dprotaso I will update shortly. |
|
@dprotaso this is ready to stamp. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dprotaso, skonto The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* probe fixes * fixes * fix threshold * cleanup
* probe fixes * fixes * fix threshold * cleanup
* probe fixes * fixes * fix threshold * cleanup
* probe fixes * fixes * fix threshold * cleanup
* Deployment probe fixes (knative#13885) * probe fixes * fixes * fix threshold * cleanup * Run `openshift/release/generate-release.sh release-v1.9` --------- Co-authored-by: Stavros Kontopoulos <st.kontopoulos@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.