-
Notifications
You must be signed in to change notification settings - Fork 152
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
Model Mesh cannot work together in the cluster where Kserve was first enabled #508
Comments
To wrap up some findings: when first enable
later when MM is enabled this could happen even in the different order: first enable MM then Kserve workaround: to rename MM's deployment to something different, e.g mm-odh-model-controller. so we do not need to change logic in operator. for the inferenceservices CRD, the current one in odh-manifests from MM is with old content, apart from this, it does not set "
for the speicific error in this issue's description, try to reproduce it,i am not sure, if KServe is dependency for "Models and model serves" to "Deploy model"?
it is actually using the CRD from Kserve (which should have a webhook service running there) and the original error should be caused by https://github.com/opendatahub-io/odh-model-controller/blob/e24d77a9efa8a2a2483ef8656940b9de6553ecfa/controllers/storageconfig_controller.go#L35 |
An additional consideration: |
for the "deployment" part, we(operator) will find a way to fix the "immutable" error |
Describe the bug
If kserve gets enabled in the cluster before modelmesh, the last one cannot successfully deploy models. The MM pod in the DS Project gets stuck with the following error in the events:
storage-config secret not found
To Reproduce
Steps to reproduce the behavior:
Expected behavior
both models in kserve and modelmesh are successfully deployed
Additional context
It seems working fine if we invert the order of enablements - MM first and kserve later
The text was updated successfully, but these errors were encountered: