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: Update quickstart.md #398

Merged
merged 1 commit into from
Jul 31, 2023
Merged

doc: Update quickstart.md #398

merged 1 commit into from
Jul 31, 2023

Conversation

AshleyZhao
Copy link
Contributor

#366 (comment)

Motivation

Add note to Quick Start Guide for link to the last stable release.

Modifications

Added note in the main Quick Start Guide as agreed by comment.

Result

image

Copy link
Member

@ckadner ckadner left a comment

Choose a reason for hiding this comment

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

Thank you @AshleyZhao this doc change will be a good improvement to prevent confusion for anyone who wants to try out ModelMesh for the first time.

I think we need a few more changes though.

@@ -2,6 +2,8 @@

To quickly get started using ModelMesh Serving, here is a brief guide.

> **Note**: To install the latest stable release, please follow the [Quick Start Guide for version 0.11](https://github.com/kserve/modelmesh-serving/blob/release-0.11/docs/quickstart.md).
Copy link
Member

Choose a reason for hiding this comment

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

I think this note is good, but we should preface it by saying that the instructions in this guide are for the latest / main branch ("under development").

A bit further down we should change RELEASE=release-0.10 to RELEASE=main and when we draft a release we replace it with the latest new release branch. And add a sentence that this is only necessary of the repo has not been (forked and) cloned yet.

we probably need the same kind of note in other install docs (docs/install/README.md, FVT, ...) where ever we ask to clone the repo and checkout a release-0.10 or release-0.11 branch

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @ckadner,
So sorry for the late response, let me get to your suggestions!

preface it by saying that the instructions in this guide are for the latest / main branch ("under development").

What do you think about adding this sentence:

The following instructions are only for early adopters who want to install the latest ModelMesh release which is under development. To install the latest stable release...

change RELEASE=release-0.10 to RELEASE=main and when we draft a release we replace it with the latest new release branch.

Sounds good, so v0.10 the latest stable release, and I should change the link to Quick Start Guide for version 0.10. And keep it updated somehow in the future. (Perhaps with the usage of conrefs/keydefs...)

we probably need the same kind of note in other install docs (docs/install/README.md, FVT, ...) where ever we ask to clone the repo and checkout a release-0.10 or release-0.11 branch

a. I see README.md already links to the Quick Start Guide at the bottom
b. What do you think of adding this kind of note for FVT docs and other varieties:

The following instructions are only for early adopters who want to install the latest ModelMesh release with Gingko which is under development. To install the latest stable release...

@rafvasq

Copy link
Member

Choose a reason for hiding this comment

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

The following instructions are only for early adopters who want to install the latest ModelMesh release which is under development. To install the latest stable release...

I like this but maybe shorten to The following instructions install the latest ModelMesh release which is under development. To install the latest stable release...

a. I see README.md already links to the Quick Start Guide at the bottom

Just to be clear in case you're referring to this README, I don't think it needs to be changed. I believe @ckadner is referring to the parts of docs such as this one, which include explicit instructions for installation. Here, I believe we would keep it pointed to the latest official release (v0.10.0, soon to be v0.11.0).

Copy link
Member

Choose a reason for hiding this comment

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

I would go a bit further and remove the notion of "release" for the install from main and keep the term latest for the actual latest code, as in latest tag Docker image, e.g.:

This quick-start guide describes how to install the latest unreleased version of ModelMesh from the top of the main development branch. To install the most recent stable release ...

Copy link
Member

Choose a reason for hiding this comment

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

And the code snippet below:

Get the latest release

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

Needs to be updated to:

Clone the ModelMesh repository

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

@ckadner
Copy link
Member

ckadner commented Jul 31, 2023

We need to add additional instructions in the release guide to remove the note of caution and update references of the main branch to the release-* branch,

e.g. here:

The version tags should be updated in the following files:

and here:

5. Update the following files in the `main` branch with the same versions as in the

@@ -2,6 +2,8 @@

To quickly get started using ModelMesh Serving, here is a brief guide.

> **Note**: To install the latest stable release, please follow the [Quick Start Guide for version 0.11](https://github.com/kserve/modelmesh-serving/blob/release-0.11/docs/quickstart.md).

## Prerequisites

- A Kubernetes cluster v 1.16+ with cluster administrative privileges
Copy link
Member

Choose a reason for hiding this comment

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

K8s version needs to be a minimum of 1.23 now and kustomize version actually needs to be 4.0 and up

@@ -2,6 +2,8 @@

To quickly get started using ModelMesh Serving, here is a brief guide.

> **Note**: To install the latest stable release, please follow the [Quick Start Guide for version 0.11](https://github.com/kserve/modelmesh-serving/blob/release-0.11/docs/quickstart.md).
Copy link
Member

Choose a reason for hiding this comment

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

And the code snippet below:

Get the latest release

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

Needs to be updated to:

Clone the ModelMesh repository

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

@rafvasq rafvasq changed the title Update quickstart.md doc: Update quickstart.md Jul 31, 2023
@ckadner ckadner removed the request for review from tjohnson31415 July 31, 2023 20:05
Copy link
Member

@ckadner ckadner left a comment

Choose a reason for hiding this comment

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

Thanks @AshleyZhao, let's merge this PR and do the remaining changes in a separate one (#414)

/lgtm

@kserve-oss-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: AshleyZhao, ckadner

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

@ckadner ckadner merged commit 79aa2ae into kserve:main Jul 31, 2023
ckadner pushed a commit that referenced this pull request Aug 2, 2023
Add note to Quick Start Guide with link to the last stable release.

Signed-off-by: AshleyZhao <[email protected]>
(cherry picked from commit 79aa2ae)
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.

4 participants