Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Install Kubeflow Pipelines

This folder contains Kubeflow Pipelines Kustomize manifests for a light weight deployment. You can follow the instruction and deploy Kubeflow Pipelines in an existing cluster.


Deploy latest version of Kubeflow Pipelines

export PIPELINE_VERSION=0.1.31
kubectl apply -f$PIPELINE_VERSION/namespaced-install.yaml

Then get the Pipeline URL

kubectl describe configmap inverse-proxy-config -n kubeflow | grep 


Customization can be done through Kustomize Overlay.

Note - The instruction below assume you installed kubectl v1.14.0 or later, which has native support of kustomize. To get latest kubectl, visit here

Deploy on GCP with CloudSQL and GCS

See here for more details.

Change deploy namespace

To deploy Kubeflow Pipelines in namespace FOO,

kubectl kustomize env/dev | kubectl apply -f -
# or 
kubectl kustomize env/gcp | kubectl apply -f -

Disable the public endpoint

By default, the deployment install an invert proxy agent that exposes a public URL. If you want to skip installing it,

kubectl kustomize . | kubectl apply -f -

The UI is still accessible by port-forwarding

kubectl port-forward -n kubeflow svc/ml-pipeline-ui 8080:80

and open http://localhost:8080/


You can uninstall Kubeflow Pipelines by running

export PIPELINE_VERSION=0.1.31
kubectl delete -f$PIPELINE_VERSION/manifests/kustomize/namespaced-install.yaml

Or if you deploy through kustomize

kubectl kustomize env/dev | kubectl delete -f -
# or
kubectl kustomize env/gcp | kubectl delete -f -


Permission error installing Kubeflow Pipelines to a cluster


kubectl create clusterrolebinding your-binding --clusterrole=cluster-admin --user=[your-user-name]

Samples requires "user-gcp-sa" secret

If sample code requires a "user-gcp-sa" secret, you could create one by

  • First download the GCE VM service account token Document
gcloud iam service-accounts keys create application_default_credentials.json \
  --iam-account [SA-NAME]@[PROJECT-ID]
  • Run
kubectl create secret -n [your-namespace] generic user-gcp-sa --from-file=user-gcp-sa.json=application_default_credentials.json
You can’t perform that action at this time.