- Installation Targets and Prerequisites
- Standalone Kubeflow Pipelines with Tekton Backend Deployment
- Kubeflow installation including Kubeflow Pipelines with Tekton Backend
- Troubleshooting
A Kubernetes cluster v1.18
that has least 8 vCPU and 16 GB memory.
- Create an IBM Cloud cluster or if you have an existing cluster, please follow the initial setup for an existing cluster
- Important: Configure the IKS cluster with IBM Cloud Block Storage Setup
Follow the instructions at Deploy Kubeflow Pipelines with Tekton backend on OpenShift Container Platform. Depending on your situation, you can choose between the two approaches:
- Leverage OpenShift Pipelines (built on Tekton)
- Install Tekton as part of deployment
Visit Kubeflow Installation for setting up the preferred environment to deploy Kubeflow.
To install the standalone Kubeflow Pipelines with Tekton, run the following steps:
-
Install Tekton v0.21.0
-
Install Kubeflow Pipelines with Tekton backend (
kfp-tekton
)v0.6.0
custom resource definitions(CRDs).Note: You can ignore the error
no matches for kind "Application" in version "app.k8s.io/v1beta1"
since it's a warning sayingapplication
CRD is not yet ready.kubectl apply --selector kubeflow/crd-install=true -f install/v0.6.0/kfp-tekton.yaml
-
Install Kubeflow Pipelines with Tekton backend (
kfp-tekton
)v0.6.0
deploymentkubectl apply -f install/v0.6.0/kfp-tekton.yaml
-
Then, if you want to expose the Kubeflow Pipelines endpoint outside the cluster, run the following commands:
kubectl patch svc ml-pipeline-ui -n kubeflow -p '{"spec": {"type": "LoadBalancer"}}'
To get the Kubeflow Pipelines UI public endpoint using command line, run:
kubectl get svc ml-pipeline-ui -n kubeflow -o jsonpath='{.status.loadBalancer.ingress[0].ip}'
Important: Please complete the prerequisites before proceeding with the following instructions.
-
Follow the Kubeflow install instructions to install the entire Kubeflow stack with
kfp-tekton
. Kubeflow1.2.0
uses Tektonv0.14.0
andkfp-tekton
v0.4.0
. -
Visit KFP Tekton User Guide and start learning how to use Kubeflow pipeline.
-
Visit KFP Tekton Admin Guide for how to configure kfp-tekton with different settings.
-
(For IBM Cloud IKS users) If you accidentally deployed Kubeflow with IBM Cloud File Storage, run the below commands to remove the existing pvc. The below commands are for removing resources in multi-user, so you can ignore any missing pvc or rollout error if you are doing this for single user.
kubectl delete pvc -n kubeflow katib-mysql metadata-mysql minio-pv-claim minio-pvc mysql-pv-claim kubectl delete pvc -n istio-system authservice-pvc kubectl rollout restart -n kubeflow deploy/mysql deploy/minio deploy/katib-mysql deploy/metadata-db kubectl rollout restart -n istio-system statefulset/authservice
Then, redo the Kubeflow install section to redeploy Kubeflow with the block storageclass.
-
If you redeploy Kubeflow and some components are not showing up, it was due to the dynamic created webhook issue. This issue will be fixed in the next release of KFP.
kubectl delete MutatingWebhookConfiguration cache-webhook-kubeflow katib-mutating-webhook-config