Skip to content
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

issue with inferenceService ingress #7563

Open
khalidkhushal opened this issue Apr 23, 2024 · 1 comment
Open

issue with inferenceService ingress #7563

khalidkhushal opened this issue Apr 23, 2024 · 1 comment

Comments

@khalidkhushal
Copy link

/kind question

Hi,
I am trying to deploy kserve using kubeflow raw manifest on K3s cluster.
I can create a inferenceService and is shown as READY as stated below:

NAMESPACE NAME URL READY PREV LATEST PREVROLLEDOUTREVISION LATESTREADYREVISION AGE kubeflow-user-example-com sklearn-iris-2 http://sklearn-iris-2.kubeflow-user-example-com.192.168.10.49.sslip.io True 100 sklearn-iris-2-predictor-00001 100m kubeflow-user-example-com sklearn-iris http://sklearn-iris.kubeflow-user-example-com.192.168.10.49.sslip.io True 100 sklearn-iris-predictor-00001 20m

I am making request on this using jupyter notebook, created from kubeflow in same namespace, with following code:

===========

url= "http://sklearn-iris.kubeflow-user-example-com.192.168.10.49.sslip.io"
body = json.dumps({
'instances': [
[6.8, 2.8, 4.8, 1.4],
[6.0, 3.4, 4.5, 1.6]
]
})
headers = {'Content-Type': 'application/json'}
print("URL ==========>", url)
response = requests.post(url, headers=headers, data=body, verify=False)
print("response=====>",response.json())

========
But in logs it shows GET request with 404 error:

2024-04-22 13:05:38.559 uvicorn.error INFO: Started server process [1] 2024-04-22 13:05:38.560 uvicorn.error INFO: Waiting for application startup. 2024-04-22 13:05:38.563 1 kserve INFO [start():62] Starting gRPC server on [::]:8081 2024-04-22 13:05:38.563 uvicorn.error INFO: Application startup complete. 2024-04-22 13:05:38.563 uvicorn.error INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit) 2024-04-22 13:13:18.987 uvicorn.access INFO: 10.42.0.216:0 1 - "GET /dex/auth?client_id=kubeflow-oidc-authservice&redirect_uri=%2Fauthservice%2Foidc%2Fcallback&response_type=code&scope=openid+profile+email+groups&state=MTcxMzc5MTU5OHxOd3dBTkVoTVZqTk5NMUJPU0ZoVlVUSkRRVE5RUTFKUVNsbFJWVU5RUlZCUFJEWkdTbGRDVkU0eVJGUTNTa1JRV1RSVVdrOHlNbEU9fG6TTEoiRo50s6nAwZRUnEiQBr2KSckfvQBTkZZD-sT5 HTTP/1.1" 404 Not Found 2024-04-22 13:13:18.987 kserve.trace kserve.io.dex.auth: 0.0005548000335693359 2024-04-22 13:13:18.987 kserve.trace kserve.io.dex.auth: 0.0005500000000004945

What could possibly the reason to it?
I have bee debugging this but had no luck.
Thanks in advance.

@AndersBennedsgaard
Copy link

Would it make sense to move this to https://github.com/kserve/kserve instead, since KServe isn't a Kubeflow component anymore?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants