Support exec
readinessProbes for sidecar serving containers
#15484
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Knative version v1.15.0
Expected Behavior
The Knative serving supports the
exec readiness probes
for serving sidecar containers.I call serving sidecar containers the containers that didn't have the port defined.
Actual Behavior
The knative serving reconciler triggers an error because the
exec
readiness probe is not supported in the serving sidecar containers. It is due to the fact that the applyReadinessProbeDefaults is used to compute the probes for the main and sidecar serving containers. The function needs a port to create aTCPProbe
in thequeue container
. ThatTCPProbe
is required for serving containersexec readiness probes
.Question : Why do we need to have a
TCP Probe
on the queue container for theexec probes of the serving containers
?Reflection : If ports definition were allowed for sidecar containers, this issue would be trivial to fix. I see that an issue is open for but is on ice for a while.
Contribution: I can help fixing the issue when we will decide on a common implementation.
Steps to Reproduce the Problem
knative serving
with thisyaml
:kubectl events -n <namespace>
you will see an error similar as :The text was updated successfully, but these errors were encountered: