Closed taylanates24 closed 4 years ago
Issue-Label Bot is automatically applying the labels:
Label | Probability |
---|---|
area/inference | 0.74 |
Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: app homepage, dashboard and code for this bot.
Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.
I solved the issue by updating the SERVICE_HOSTNAME from SERVICE_HOSTNAME=$(kubectl get inferenceservice pytorch-cifar10 -test -o jsonpath='{.status.url}' | cut -d "/" -f 3) to SERVICE_HOSTNAME=$(kubectl get inferenceservice pytorch-cifar10 -n pytorch-test -o jsonpath='{.status.url}' | cut -d "/" -f 3)
@taylanates24 Do you think we should make the instruction more clear?
INGRESS_HOST}:${INGRESS_PORT}/v1/models/$MODEL_NAME:predict
POST /v1/models/cifar10:predict HTTP/1.1 Host: torch-transformer.default.example.com User-Agent: curl/7.81.0 Accept: / Content-Length: 3394 Content-Type: application/x-www-form-urlencoded
Hello @Sangauppe @yuzisun
I facing same issue with status code 500 error when call to sklearn-iris
`curl: (6) Could not resolve host: POST
POST /v1/models/sklearn-iris:predict HTTP/1.1 Host: sklearn-iris.kserve-test.svc.cluster.local User-Agent: curl/7.80.0 Accept: / Content-Length: 30 Content-Type: application/x-www-form-urlencoded
@nguyenthai0107 Facing the same issue any idea on how to resolve?
/kind bug
What steps did you take and what happened: I installed kfserving with a minikube kubernetes cluster following the guide https://github.com/kubeflow/kfserving/blob/master/README.md. I used kfserving master branch and Kubernetes v1.18.3. And then, I followed the steps on https://github.com/kubeflow/kfserving/tree/master/docs/samples/pytorch I successfully created inferenceservice.serving.kubeflow.org/pytorch-cifar10. But inference with curl was not successful. I used the following names:
Because the EXTERNAL-IP value is none (or perpetually pending), my environment does not provide an external load balancer for the ingress gateway I use the following command:
and it gives the following output:
I didn't understand what the problem is, and how I can solve this problem. Please help me, thank you in advance.
Anything else you would like to add:
I created a namespace as:
after that;
when I run the following command:
It gives the output:
So, I am not sure if the url "http://${INGRESS_HOST}:${INGRESS_PORT}/v1/models/$MODEL_NAME:predict" is true. What should the url be? I think the problem is the wrong url.
What did you expect to happen: I expect to see the predictions after the curl command.
Environment:
kubectl version
):v1.18.7/etc/os-release
): NAME="Ubuntu" VERSION="18.04.4 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.4 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic