-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
Validation Checklist
- I confirm that this is a Kubeflow-related issue.
- I am reporting this in the appropriate repository.
- I have followed the Kubeflow installation guidelines.
- The issue report is detailed and includes version numbers where applicable.
- I have considered adding my company to the adopters page to support Kubeflow and help the community, since I expect help from the community for my issue (see 1. and 2.).
- This issue pertains to Kubeflow development.
- I am available to work on this issue.
- You can join the CNCF Slack and access our meetings at the Kubeflow Community website. Our channel on the CNCF Slack is here #kubeflow-platform.
Version
1.10.2
Detailed Description
Issue: 404 Not Found error with KServe model using Istio Ingress Gateway
Description:
I followed the official guide to deploy a KServe model (sklearn-iris) using Istio as the ingress gateway. However, I'm encountering a 404 Not Found error when accessing the model through the sslip.io URL.
Steps Taken:
-
Followed the guide from the KServe GitHub repository Istio + Dex Setup.
- Specifically, I followed the section Why I am getting 404 not found error? to configure Istio and KServe.
- I deployed an
InferenceServicewith thesklearn-irismodel.
-
DNS Configuration:
- Applied the Magic DNS (sslip.io) configuration by running:
kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.21.0/serving-default-domain.yaml
- Applied the Magic DNS (sslip.io) configuration by running:
-
Istio Configuration:
- I followed the steps under the section Why I am getting 403 Forbidden RBAC access denied error? to set:
sidecar.istio.io/inject: "false"
- I followed the steps under the section Why I am getting 403 Forbidden RBAC access denied error? to set:
-
Model URL:
The model's URL ishttp://sklearn-iris-my-namespace.IP.sslip.io. -
Current Issue:
Despite these configurations, I still encounter a 404 Not Found nginx landing site when attempting to access the model through the configured URL (http://sklearn-iris-my-namespace.IP.sslip.io).- Logs show a 200 OK status but routing to an incorrect service (
kserve-models-web-app.kubeflow.svc.cluster.local) rather than the intended model service. - NGINX is responding with the 404 error.
- Port forwarding does not work due to the
ExternalNameservice (mistral-7b-instr-vllm-predictor) being incorrectly defined.
- Logs show a 200 OK status but routing to an incorrect service (
Expected Behavior:
I expect the 404 error to be resolved, and the traffic should reach the correct KServe model service via Istio's ingress gateway.
Steps Taken So Far:
- Rechecked the
VirtualServiceconfiguration to ensure correct routing to the KServe model. - Verified that the DNS resolves correctly to the assigned IP.
- Attempted to port-forward but encountered issues with the
ExternalNameservice. - Checked Istio's logs but encountered misleading 200 OK responses (since the website does load, but it loads to show me the nginx 404 error page).
Suggestions/Requests:
- Any suggestions on correctly configuring the service for the KServe model to route via Istio.
- Insights into why NGINX is returning a 404 despite the service running successfully.
Steps to Reproduce
- Deploy Kubeflow via Manifests
- Expose Central Dashboard via sslip.io
- Deploy example inference service
- Get public url and visit it
- Get 404 nginx site
- Same happens if I try the dex auth via Python:
print("Response: ", res)returns
Status Code: 404
Response: <Response [404]>
Screenshots or Videos (Optional)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels