-
Notifications
You must be signed in to change notification settings - Fork 593
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
When the data plane can't reach the apiserver, it silently fails to forward #1085
Comments
/priority awaiting-more-evidence We should repro with an e2e test or by hand? |
I can replicate using this source/trigger/service combo in |
/cc @nachocano |
I don't think this is caused by using a Broker in a non-default namespace. The Broker e2e tests have been running in a non-default namespace since their creation. TestDefaultBrokerWithManyTriggers runs in a non-default namespace (its name is generated here). |
I think mark indicated that deleting and re-creating the pods got him unstuck. However, the Broker and Triggers' |
Renaming this bug; it appears to have been an intermittent network issue, The larger issue is that all the objects reported [source] --> [broker-filter] --> [broker-internal-channel] --> [subscription] --> [broker-filter] 🗑 |
That's not quite accurate. Those PRs don't mark the Broker/Trigger ready until all their pieces are ready, but that is all control plane activity. In particular, if the Pod is healthy and available, even when it can't talk to the API server, then we would still have this problem. An 'easy' fix would be to crash loop the container until it can talk to the API server. A better fix would be to add a readiness probe to the Deployments. |
IIUC this used to be impossible or at least very difficult with mTLS enabled in Istio. According to istio/istio#4429 that's fixed, but unclear whether the fix is released. @tcnghia can we start using liveness and readiness probes in the data path yet? |
@grantr In serving we have been using readiness probe in data path for a while now. @ZhiminXiang is busy with AutoTLS work and hasn't gotten to confirming mTLS (probe rewrite) yet. May be we will put more investigation in 0.7 milestone after AutoTLS is done. |
I believe we've also removed the Istio requirement at this point. |
related: #1166 ? |
@Harwayne did this get fixed somewhere along the way? |
I don't think so. The removal of Istio has likely made it far less likely to occur, but I think it would still present the same problems. I think the readiness probe described in #1085 (comment) is still the proper, long term fix. |
Should we then have an issue to add a readiness probe to explicitly spell out what the problem is. Title seems to state a different issue? |
/close Closing in favor of #1656, which describes the desired solution. |
@Harwayne: Closing this issue. In response to this:
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. |
Describe the bug
In a non-default namespace, the
default-broker-filter
deployment fails to actually load any Trigger data, and instead reports:and
Expected behavior
Broker and Trigger work in a namespace other than the
default
namespace.To Reproduce
Deploy Broker/Trigger to a non-default namespace and then attempt to deliver via Trigger.
Knative release version
Release 0.5
The text was updated successfully, but these errors were encountered: