-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 missing deployment probes #13563
Conversation
Codecov ReportBase: 86.19% // Head: 86.19% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## main #13563 +/- ##
=======================================
Coverage 86.19% 86.19%
=======================================
Files 197 197
Lines 14775 14775
=======================================
Hits 12736 12736
Misses 1736 1736
Partials 303 303 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 at Codecov. |
2b1a805
to
c8a61fd
Compare
/retest |
Failures seem irrelevant:
|
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.
It seems like the intent of the linked issue was to add this logic to the sharedmain
package - why not make the necessary changes in knative/pkg
?
cmd/default-domain/main.go
Outdated
@@ -226,5 +219,4 @@ func main() { | |||
} | |||
|
|||
logger.Info("Updated default domain to: ", domain) | |||
server.Shutdown(context.Background()) |
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.
Shutdown was blocking before and now it's not. This means main will exit and run defer
's etc.
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.
Ah yes, correct will fix. Just need to block on the context: <-ctx.Done()
or something.
Ok I will move the logic in the knative/pkg I agree it would be useful there and then update the PR here to test it. |
/hold |
(When you update pkg, can you reference this PR, so we can track when this should be revised?) |
c8a61fd
to
acbb5db
Compare
8c6c986
to
e89fd48
Compare
cc42e6b
to
c1b15ad
Compare
c1b15ad
to
9afed75
Compare
9afed75
to
f69f7cc
Compare
@dprotaso gentle ping, this should be quick. |
@dprotaso @evankanderson gentle ping. |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: evankanderson, skonto The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@dprotaso is it ok to unhold? |
@dprotaso gentle ping. |
/unhold /lgtm thanks |
* add probes to all deployments (#176) * add missing probes (knative#13563) * Bump manifests --------- Co-authored-by: Stavros Kontopoulos <st.kontopoulos@gmail.com>
* add probes to all deployments (#176) * add missing probes (knative#13563) * Bump manifests --------- Co-authored-by: Stavros Kontopoulos <st.kontopoulos@gmail.com> Co-authored-by: Kenjiro Nakayama <nakayamakenjiro@gmail.com>
partially fixes knative/pkg#1048 for now.
Proposed Changes
Release Note