-
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
Allow probes to be defined for sidecar containers #14291
Conversation
Welcome @KaranJagtiani! It looks like this is your first PR to knative/serving 🎉 |
Hi @KaranJagtiani. Thanks for your PR. I'm waiting for a knative 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. |
Thank you so much @KaranJagtiani |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #14291 +/- ##
==========================================
- Coverage 86.16% 86.09% -0.07%
==========================================
Files 195 195
Lines 14702 14726 +24
==========================================
+ Hits 12668 12679 +11
- Misses 1729 1741 +12
- Partials 305 306 +1
☔ View full report in Codecov by Sentry. |
Thank you for the feedback, @nak3! |
26c8d07
to
078e5bf
Compare
03a6471
to
545a282
Compare
@nak3 thank you for promptly resolving the issue I was facing with e2e tests. I have added the e2e test based on your suggestion, also I have kept the beta feature skip check just like in the |
545a282
to
6c384f7
Compare
/retest |
6c384f7
to
6857f13
Compare
/retest |
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.
Thank you so much! LGTM other than some format issues.
/lgtm I think I don't have a permission to merge though. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: KaranJagtiani, nak3 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 |
/assign @dprotaso |
/hold Posted some comments here: #8949 (comment) tl;dr I don't think we can safely expose these as is because then the Pods the activator considers as ready is not what Kubernetes considers ready. |
@dprotaso I understand the problem, and I would agree that we can't expose these as is because the readiness of the pod wouldn't accurately represent the readiness of all its containers, including the sidecars. In contemplating a solution, I have gathered that currently the I am eager to know your thoughts on this approach. |
Yeah I came to the same conclusion in the comment here #8949 (comment) Even if we perform such probing if someone specifies an |
Going to close this out as we don't want to merge as is. Further discussion can be done on the issue |
Issue - Link
This PR allows sidecar containers to have liveness & readiness probes to be defined.
The following is an example yaml file that creates a primary container on port 8080 and a sidecar container on port 8081. This type of configuration was not allowed before.
Release Note