kubeflow / fairing

Python SDK for building, training, and deploying ML models
Apache License 2.0
337 stars 144 forks source link

svc.deploy(isvc.generate_isvc()) 404 page not found #539

Closed zhangchunsheng closed 4 years ago

zhangchunsheng commented 4 years ago

svc.deploy(isvc.generate_isvc()) 404 page not found

/home/jupyter/anaconda3/envs/mlpipeline/lib/python3.7/site-packages/kfserving/api/kf_serving_client.py in create(self, inferenceservice, namespace, watch, timeout_seconds)
    109             raise RuntimeError(
    110                 "Exception when calling CustomObjectsApi->create_namespaced_custom_object:\
--> 111                  %s\n" % e)
    112 
    113         if watch:

RuntimeError: Exception when calling CustomObjectsApi->create_namespaced_custom_object:                 (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Content-Type': 'text/plain; charset=utf-8', 'X-Content-Type-Options': 'nosniff', 'Date': 'Wed, 02 Sep 2020 13:48:12 GMT', 'Content-Length': '19'})
HTTP response body: 404 page not found
issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the labels:

Label Probability
kind/bug 0.85
area/jupyter 0.66

Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: app homepage, dashboard and code for this bot.

jinchihe commented 4 years ago

@zhangchunsheng is that the KFServing CRD is installed in your env? Thanks.

zhangchunsheng commented 4 years ago

@zhangchunsheng is that the KFServing CRD is installed in your env? Thanks.

It's not installed in k8s.

kfctl apply -V -f kfctl_k8s_istio.v1.1.0.yaml

I pull image by myself.