pipelines/manifests/gcp_marketplace
Chen Sun c5658f09ec chore(release): bumped version to 2.0.5 2023-12-08 18:00:49 +00:00
..
chart/kubeflow-pipelines chore(release): bumped version to 2.0.5 2023-12-08 18:00:49 +00:00
deployer fix: Update GCP marketplace deployer base image (#8018) 2022-07-12 22:56:02 +00:00
hack Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00
test fix(manifests): Update persistence agent manifests in marketplace helm chart (#9908) 2023-08-21 20:08:41 +00:00
OWNERS chore: Add gkcalat to OWNERS of gcp_marketplace manifests (#8644) 2023-01-04 01:11:24 +00:00
README.md doc(gcp): recommend KFP standalone over marketplace CLI installation (#4508) 2020-09-16 21:20:45 -07:00
cli.md doc(gcp): recommend KFP standalone over marketplace CLI installation (#4508) 2020-09-16 21:20:45 -07:00
guide.md chore: address kubectl dry-run deprecation (#8643) 2023-01-03 23:08:24 +00:00
schema.yaml chore(release): bumped version to 2.0.5 2023-12-08 18:00:49 +00:00

README.md

Kubeflow Pipelines for GKE Marketplace

Using the Google Cloud Platform Marketplace

Get up and running with a few clicks! Install this Kubeflow Pipelines app to a Google Kubernetes Engine cluster using Google Cloud Marketplace. Follow the on-screen instructions and Google Cloud AI Platform Pipelines documentation.

Using the command line

For users, please refer to Kubeflow Pipelines Standalone on how to install via commandline using kustomize manifests. The installation is almost the same as AI Platform Pipelines.

Refer to the Installation Options for Kubeflow Pipelines doc for all installation options and their feature comparison.

Developement guide

Only for developing AI Platform Pipelines purpose, we have a CLI installation guide for AI Platform Pipelines. It's not suitable for end users. The tool "mpdev" is for Kubeflow Pipeline developers.

This section details how to test your changes before submit codes.

  1. Code changes and locally committed

  2. Build

gcloud builds submit --config=.cloudbuild.yaml --substitutions=COMMIT_SHA="$(git rev-parse HEAD)" --project=ml-pipeline-test

gcr.io/$PROJECT_ID/hosted/$COMMIT_SHA/ contains the binaries.

  1. Auto-test (Install & Uninstall)

MM_VER is major minor version parsed from VERSION file which is on major.minor.patch version format.

MM_VER=$(cat VERSION | sed -e "s#[^0-9]*\([0-9]*\)[.]\([0-9]*\)[.]\([0-9]*\)#\1.\2#")
gcloud builds submit --config=test/cloudbuild/mkp_verify.yaml --substitutions=COMMIT_SHA="$(git rev-parse HEAD)",_DEPLOYER_VERSION=$MM_VER --project=ml-pipeline-test
  1. Manual-test (Install with advanced parameters and don't uninstall)

Make sure your kubectl can connect to a target test cluster.

APP_INSTANCE_NAME=<yours>
NAMESPACE=<yours> # Make sure you already created the namespace
MANAGEDSTORAGE=true # True means use CloudSQL + Minio-GCS; False means use in-cluster PVC + MySQL.
CLOUDSQL=<yours> # Format like project_id:zone:cloudsql_instance_name
PROJECTID=<yours> # This field will be removed after Marketplace can pass in the project ID
mpdev install  --deployer=gcr.io/ml-pipeline-test/hosted/$(git rev-parse HEAD)/deployer:$MM_VER \
    --parameters='{"name": "'$APP_INSTANCE_NAME'", "namespace": "'$NAMESPACE'", "managedstorage.enabled": '$MANAGEDSTORAGE', "managedstorage.cloudsqlInstanceConnectionName": "'$CLOUDSQL'"}'