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

Add install script for KServe and ModelMesh #2032

Merged
merged 1 commit into from
Jun 6, 2022

Conversation

chinhuang007
Copy link
Contributor

Add install script for KServe and ModelMesh so the user can
quickly experiment features provided by two repos.

The script will install all prerequisits knative, istio, cert
manager, etcd, and minio, and create namespaces when needed.
The repo branch variables can be changed to install different
versions of KServe and ModelMesh.

Signed-off-by: Chin Huang chhuang@us.ibm.com

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

  1. Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:


@chinhuang007
Copy link
Contributor Author

/restest

@pvaneck
Copy link
Member

pvaneck commented Feb 4, 2022

/retest

Copy link
Member

@pvaneck pvaneck left a comment

Choose a reason for hiding this comment

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

Tried it out, and works great. Some minor comments in line.

if [[ ! -z $user_ns_array ]]; then
for USER_NS in "${user_ns_array[@]}"; do
kubectl create ns ${USER_NS} || true
echo "Installing ModelMesh in namespace: ${USER_NS}..."
Copy link
Member

Choose a reason for hiding this comment

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

nit: Maybe "Enabling ModelMesh for namespace:" would be more accurate?


kubectl create ns ${CTLR_NS} || true
cd "${C_DIR}/modelmesh-serving"
./scripts/install.sh -n ${CTLR_NS} --quickstart --dev-mode-logging
Copy link
Member

Choose a reason for hiding this comment

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

Wondering if dev-mode-logging shouldn't be on by default since there is considerable DEBUG log spam with this enabled.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, most people won't care about logging. Just removed it.

Add install script for KServe and ModelMesh so the user can
quickly experiment features provided by two repos.

The script will install all prerequisits knative, istio, cert
manager, etcd, and minio, and create namespaces when needed.
The repo branch variables can be changed to install different
versions of KServe and ModelMesh.

Signed-off-by: Chin Huang <chhuang@us.ibm.com>
@yuzisun
Copy link
Member

yuzisun commented Jun 4, 2022

/approve

@kserve-oss-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chinhuang007, yuzisun

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

Copy link
Member

@pvaneck pvaneck left a comment

Choose a reason for hiding this comment

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

/lgtm

@kserve-oss-bot kserve-oss-bot merged commit 7b2140e into kserve:master Jun 6, 2022
alexagriffith pushed a commit to alexagriffith/kserve that referenced this pull request Sep 19, 2022
Add install script for KServe and ModelMesh so the user can
quickly experiment features provided by two repos.

The script will install all prerequisits knative, istio, cert
manager, etcd, and minio, and create namespaces when needed.
The repo branch variables can be changed to install different
versions of KServe and ModelMesh.

Signed-off-by: Chin Huang <chhuang@us.ibm.com>
Signed-off-by: alexagriffith <agriffith96@gmail.com>
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.

None yet

4 participants