kserve / kserve

Standardized Serverless ML Inference Platform on Kubernetes
https://kserve.github.io/website/
Apache License 2.0
3.59k stars 1.06k forks source link

The InferenceService "sklearn-iris" is invalid: metadata.managedFields.fieldsType: Invalid value: "": must be `FieldsV1` #922

Closed kmr0877 closed 4 years ago

kmr0877 commented 4 years ago

/kind bug

What steps did you take and what happened: I am trying to test KFServing Installation, setting up for the first time from Test KFServing Installation . Not really sure if its a bug?

Commands shown below

kubectl create namespace kfserving-test
kubectl apply -f docs/samples/sklearn/sklearn.yaml -n kfserving-test

Error message:

The InferenceService "sklearn-iris" is invalid: metadata.managedFields.fieldsType: Invalid value: "": must be `FieldsV1`

What did you expect to happen:

$ inferenceservice.serving.kubeflow.org/sklearn-iris created

Anything else you would like to add:

Environment:

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the labels:

Label Probability
area/inference 0.64

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[bot] commented 4 years ago

Issue-Label Bot is automatically applying the labels:

Label Probability
area/inference 0.64

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

yuzisun commented 4 years ago

@kmr0877 you are on kubernetes 1.18 and looks like this is the same issue as https://github.com/GoogleCloudPlatform/flink-on-k8s-operator/issues/210, if you downgrade to 1.17 that should work. We will need to upgrade k8s client dependency for KFServing controller.

kmr0877 commented 4 years ago

@yuzisun Seems like on downgrade to 1.17 works fine for me. Thanks for your response. Worth upgrading k8s client, probably better to keep the issue open until its upgraded else we might end up seeing duplication as you mentioned above. Feel free to close the issue if you have a different opinion.

yuzisun commented 4 years ago

released in 0.4.1