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

InferenceSerivce must have either the storageUri or the storage.path #510

Open
gujingit opened this issue Jun 3, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@gujingit
Copy link

gujingit commented Jun 3, 2024

Describe the bug

InferenceSerivce must have either the storageUri or the storage.path

To Reproduce
Steps to reproduce the behavior:

apiVersion: "serving.kserve.io/v1beta1"
kind: "InferenceService"
metadata:
  name: "sklearn-iris-zibai"
  namespace: modelmesh-serving
  annotations:
    serving.kserve.io/deploymentMode: ModelMesh
spec:
  predictor:
    model:
      modelFormat:
        name: sklearn
      image: kube-ai-registry.cn-shanghai.cr.aliyuncs.com/ai-sample/kserve-sklearn-server:v0.12.0
      command:
      - sh
      - -c
      - "python -m sklearnserver --model_name=sklearn-iris --model_dir=/models --http_port=8080"
      resources:
        limits:
          memory: 2Gi
        requests:
          memory: 100Mi

errors in modelmesh-controller

"error":"failed to fetch CR from kubebuilder cache for predictor sklearn-iris-zibai: the InferenceService modelmesh-serving/sklearn-iris-zibai must have either the storageUri or the storage.path"

The image already contains the data, no need to pull the data again.

Expected behavior

No errors.

@gujingit gujingit added the bug Something isn't working label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant