Support exec readiness probes for sidecar containers#15773
Conversation
|
Welcome @flomedja! It looks like this is your first PR to knative/serving 🎉 |
|
Hi @flomedja. 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. DetailsInstructions 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-sigs/prow repository. |
c1d3397 to
c14663c
Compare
|
/ok-to-test |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15773 +/- ##
=======================================
Coverage 80.90% 80.91%
=======================================
Files 210 210
Lines 16698 16706 +8
=======================================
+ Hits 13510 13518 +8
Misses 2838 2838
Partials 350 350 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
The failure was due to kind not being setup correctly. I will re-run. |
|
thanks for the change @flomedja looks good. We'll need to also disable some probe optimizations in the activator when the sidecar and an exec probe serving/pkg/activator/net/revision_backends.go Lines 536 to 544 in 3d830a0 |
|
@dprotaso Thanks for the comment. I added the changes to disabel the probe optimization when a sidecar container have a exec probe. |
|
/lgtm thanks @flomedja |
|
@dprotaso My pleasure! I'd be happy to contribute to other issues as well, just let me know where I can help! |
|
If you see any issues you want to work on just message me in the CNCF slack (https://communityinviter.com/apps/cloud-native/cncf) and I can walk through stuff |
|
/lgtm |
|
/hold cancel |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dprotaso, flomedja 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 |


Fixes #15484
Proposed Changes
Delegate the
exec readinessprobes to kubernetes for sidecar containers. The controller previsouly return an error when aexec readiness probesis defined on a sidecar container. We now support theexec readiness probesfor all the containers.Release Note