Unable to use KFServing on Kubeflow
See original GitHub issue/kind bug
What steps did you take and what happened: I was trying to use KFServing for Model Prediction as described here.
MODEL_NAME=flowers-sample
INPUT_PATH=@./input.json
INGRESS_GATEWAY=istio-ingressgateway
CLUSTER_IP=$(kubectl -n istio-system get service $INGRESS_GATEWAY -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
SERVICE_HOSTNAME=$(kubectl get inferenceservice ${MODEL_NAME} -o jsonpath='{.status.url}' | cut -d "/" -f 3)
I realize that CLUSTER_IP
& SERVICE_HOSTNAME
are blank. On checking the JSON file, it can be figured out that the jsonpath specified for CLUSTER_IP
has been modified to spec.clusterIP
, whereas the SERVICE_HOSTNAME
continues to remain blank leading to failure of the steps that follow.
What did you expect to happen: The commands to execute successfully & output a model prediction.
Anything else you would like to add:
I tried to hardcode the SERVICE_HOSTNAME
to flowers-sample.default.example.com
but that led to the connection time out error.
Environment:
- Istio Version:
- Knative Version:
- KFServing Version:
- Kubeflow version: v1.0.2
- Kfdef: k8s_istio
- Minikube version:
- Kubernetes version: (use
kubectl version
): Client Version: 1.18 Server Version: 1.15 - OS (e.g. from
/etc/os-release
): Ubuntu 18.04
Issue Analytics
- State:
- Created 3 years ago
- Comments:46 (20 by maintainers)
Top Results From Across the Web
Unable to use KFServing on Kubeflow · Issue #912 - GitHub
I was trying to use KFServing for Model Prediction as described here. MODEL_NAME=flowers-sample INPUT_PATH=@./input.json INGRESS_GATEWAY=istio- ...
Read more >Kubeflow 1.0 기능 #5 (KFServing, TFServing)
It aims to solve production model serving use cases by providing performant, high abstraction interfaces for common ML frameworks like ...
Read more >Kubeflow v1.5 improves ML model accuracy, reduces ...
The Kubeflow v1.5 software release improves ML model accuracy, lowers infrastructure costs, and simplifies operations by providing a more ...
Read more >kfserving 1.3.0 · helm/cowboysysop - Artifact Hub
This chart bootstraps a KFServing deployment on a Kubernetes cluster using the Helm package manager. Prerequisites. Kubernetes >= 1.19 and <= 1.21; cert ......
Read more >End-to-end Pipeline with KFServing - D2iQ Docs
Without the requisite Kubernetes operators and custom Docker images, these notebooks will likely not work. Kubeflow Pipelines: from Training to Serving.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Manvi07 this smells like firewall issue on your cluster, in this case knative is calling istio webhook
istio-galley
inistio-system
namespace to create the virtual service but timed out. It is best to check your firewall setup.@Manvi07 if you remove the annotation
"sidecar.istio.io/inject":"true"
on both autoscaler and activator deployment, the pod should then come up.