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

doc(model-registry): Added Model Registry CSI documentation to installation and getting started sections #3922

Merged

Conversation

Al-Pragliola
Copy link
Contributor

Now that CSI manifests have been added to the Model Registry manifests folder, this update includes comprehensive documentation on the installation and getting started process for deploying models using the Kserve CustomStorageContainer CR and Model Registry CSI. I also changed the example from mnist to scikit-learn and generally bumped the model registry version.

This PR supersedes PR #3846

Copy link

Hi @Al-Pragliola. Thanks for your PR.

I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Signed-off-by: Alessio Pragliola <[email protected]>
Copy link
Member

@Arhell Arhell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ok-to-test

Copy link
Member

@tarilabs tarilabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @Al-Pragliola ! couple of early comment but overall lgtm

Comment on lines +61 to +62
"iris",
"gs://kfserving-examples/models/sklearn/1.0/model",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this require login access to download?

If so, I would use one of the model.joblib I've used in another demo with link to github

Copy link
Contributor Author

@Al-Pragliola Al-Pragliola Oct 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, at the time of writing no authorization is required to fetch the model with kserve, it's a public bucket.
It's also the model used in kserve's getting started guide, so I think it's pretty safe to keep it there.

If you want Kserve to be able to support `model-registry://` URI formats, you must apply the cluster-scoped `CustomStorageContainer` CR.

```shell
kubectl apply -k "https://github.com/kubeflow/model-registry/manifests/kustomize/options/csi?ref=main"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can hold this PR until we have v0.2.10 including this manifest imho

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine by me, I'll update the versions to 0.2.10 when it's available on the other manifest links too.

Copy link
Member

@tarilabs tarilabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

thanks @Al-Pragliola couple minor addendum for your considerations?

Co-authored-by: Matteo Mortari <[email protected]>
Signed-off-by: Alessio Pragliola <[email protected]>
@google-oss-prow google-oss-prow bot removed the lgtm label Nov 11, 2024
Copy link
Member

@tarilabs tarilabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fantastic, thanks a lot @Al-Pragliola

🚀

/lgtm
/approve

@google-oss-prow google-oss-prow bot added the lgtm label Nov 11, 2024
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tarilabs

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot merged commit 42e0e45 into kubeflow:master Nov 11, 2024
6 checks passed
@Al-Pragliola Al-Pragliola deleted the feat/add-csi-to-mr-section branch November 11, 2024 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants