-
Notifications
You must be signed in to change notification settings - Fork 54
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
[WIP] Reworked bootstrapper #262
Conversation
- Removed the files from the outdated bootstrapper implementation. - Folded `quickstart/` files into `bootstrapper/` & replaced all references to `quickstart/`. - Both Kubernetes & Docker Compose setups are initialized with `bootstrapper/init_catalog.sh`, which takes options for host, port, & disabling KFP functionality from the user. TO DO: - Rewrite Kubernetes instructions in `bootstrapper/README.md`.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: girigsrini The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Giri. Sorry for not responding sooner. We need to make a few more changes.
The Quickstart guide should stay in place. The only change under quickstart will be how the catalog gets initialized
|
||
For a full deployment, we use [Kubeflow Kfctl](https://github.com/kubeflow/kfctl) tooling. | ||
|
||
* #### [MLX using Docker Compose (Asset Catalog Only)](./quickstart) | ||
* #### [MLX using Docker Compose (Asset Catalog Only)](./bootstrapper) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these 2 links should still point to ./quickstart
since the Quickstart as a concept and easy-install remains in place
@@ -100,7 +100,7 @@ Bring up the Quickstart without the `mlx-api` service, since we will run the MLX | |||
from our local source code, instead of using the pre-built Docker image `mlexchange/mlx-api:nightly-main`. | |||
|
|||
# cd <mlx_root_dir> | |||
cd quickstart | |||
cd bootstrapper |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this folder needs to stay quickstart
since that is where the docker compose app needs to start
After 2-5 minutes, the assets in [configmap.yaml](configmap.yaml) should be populated. | ||
# Bootstrapper | ||
|
||
## Running MLX with Docker Compose |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the bootstrapper/README.md should stay in place (with some modifications). it should not be replaced by the quickstart/README.md
@@ -1,12 +1,121 @@ | |||
# How to use it | |||
1. Install MLX |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the install step should point to one of 3 options, like on the main README where we have kubernetes and Docker compose deployment options
@@ -1,12 +1,121 @@ | |||
# How to use it | |||
1. Install MLX | |||
2. Get the [github.ibm.com personal access token](https://github.ibm.com/settings/tokens/new) and give it access to read all public repos. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the remaining steps should describe how to run the bootstrapper script, i.e. set the host and port to point to the MLX server (either remote cluster or local Quickstart, but the local Quickstart catalog should be described in the quickstart/README.md
)
@@ -95,7 +95,7 @@ from our local source code, instead of using the pre-built Docker image `mlexcha | |||
|
|||
```Bash | |||
# cd <mlx_root_directory> | |||
cd quickstart | |||
cd bootstrapper |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stays quickstart
I think we should separate the changes for the The main idea for this PR should be that the We can then remove all of these files:
We will keep:
And add a script to call the
For the updates/simplifications to Quickstart we would open a follow up PR. There are two recent changes that should make that rework easier:
So in the
|
@girigsrini -- I took a look at the changes required for the Quickstart guide (files under For this PR, let's focus on changes under the |
quickstart/
files intobootstrapper/
& replaced all references toquickstart/
.bootstrapper/init_catalog.sh
, which takes options for host, port, & disabling KFP functionality from the user.TO DO:
bootstrapper/README.md
.