-
Notifications
You must be signed in to change notification settings - Fork 885
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
Istio and Knative problematic Gateway ports mapping in KF 1.4 #2082
Comments
How to diagnose
[1] Duplicate listener logsThese are the warnings around duplicate listeners knative/serving#10160. This is also what people in Knative reported
[2] Incorrect Gateway listenersThe listeners below are the correct ones. If you see something different, then you've hit the issue we described # find the proxy name
$ istioctl proxy-status | grep cluster-local-gateway
# Find the listeners
$ istioctl proxy-config listeners cluster-local-gateway-b76ff5885-qsrmk.istio-system
ADDRESS PORT MATCH DESTINATION
0.0.0.0 8080 ALL Route: http.80
0.0.0.0 8081 ALL Route: http.8081
0.0.0.0 15021 ALL Inline Route: /healthz/ready*
0.0.0.0 15090 ALL Inline Route: /stats/prometheus* |
Root causeThis bug was caused by:
There's also a design doc in Istio that fully describes this problem. In some cases, depending on the Services creation order, I'm also posting the picture from the above design doc, that really helps visualize this |
SolutionIstio introduced a new We will need to set this label to the EDIT: Important detail, we are OK with the current version of Istio 1.9.6, since the required fix in Istio's side istio/istio#33021 was back-ported all the way to 1.9.6. |
After a handful of installations we bumped into an upstream Istio issue, that is triggered by Knative knative/serving#10160 (comment), regarding how the ports are opened in the Gateway Pod. Istio has created a hotfix istio/istio#33021 which was back-ported all the way to Istio 1.9.6, that comes along KF 1.4 https://github.com/istio/istio/commits/1.9.6.
The above issue, that gets triggered by Knative's Gateways and Services, can result in 404 from InfereceServices. We've seen users report 404s from KFServing even in the first RC of 1.4, but hadn't gotten to the bottom of it at that time #2007.
I'll provide some more technical details in the comments below on how to diagnose the specific issue, the root cause as well as how to fix it, but the key points I want to raise are:
Because of the above, I'd like us to actually consider having a KF 1.4.1 release that will include the fix for the above problem knative-extensions/net-istio#636 in our manifests. cc @kubeflow/wg-manifests-leads @kubeflow/release-team
The text was updated successfully, but these errors were encountered: