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

Quickstart broken: modelmesh-serving svc not created in --namespace-scope-mode: secret "model-serving-etcd" not found #519

Open
planetA opened this issue Jul 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@planetA
Copy link

planetA commented Jul 15, 2024

Describe the bug

The quickstart install instructions no longer work correctly. After deploying a model, the InferenceService does not get into READY state. Inference requests cannot be performed.

The behavior is similar to #433 but the reason seems to be different. In logs I see:

Normal   Scheduled    1s    default-scheduler  Successfully assigned modelmesh-serving/modelmesh-serving-mlserver-1.x-66bfb5668f-zlcbv to mplaneta-cluster
Warning  FailedMount  1s    kubelet            MountVolume.SetUp failed for volume "etcd-config" : secret "model-serving-etcd" not found

The secret does not exist and if I try to create it manually, it is deleted immediately. If I recreate the cluster without --namespace-scope-mode, the erroneous behavior disappears.

To Reproduce

Prepare:

RELEASE="release-0.12"
git clone -b $RELEASE --depth 1 --single-branch https://github.com/kserve/modelmesh-serving.git
cd modelmesh-serving

Install

kubectl create namespace modelmesh-serving
./scripts/install.sh --namespace-scope-mode --namespace modelmesh-serving --quickstart -d


kubectl apply -f - <<EOF
apiVersion: serving.kserve.io/v1beta1
kind: InferenceService
metadata:
  name: example-mnist-isvc
  annotations:
    serving.kserve.io/deploymentMode: ModelMesh
spec:
  predictor:
    model:
      modelFormat:
        name: sklearn
      storage:
        key: localMinIO
        path: sklearn/mnist-svm.joblib
EOF

Environment (please complete the following information):

release-0.12

kubectl version
Client Version: v1.29.3
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.3
@planetA planetA added the bug Something isn't working label Jul 15, 2024
@haiminh2001
Copy link

if you use --namespace-scope-mode, you must label your namespace with modelmesh-enabled=true
For example:

kubectl label ns my-namespace modelmesh-enabled=true

The secret should be created right after.

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

2 participants