Skip to content

Commit

Permalink
kfp-tekton 1.1 release (#814)
Browse files Browse the repository at this point in the history
* add kfp-tekton 1.1 release

* update manifest with the latest commits

* migrating rest of v1beta1 to v1 api
  • Loading branch information
Tomcli authored Jan 12, 2022
1 parent 50c172f commit b1bb32b
Show file tree
Hide file tree
Showing 23 changed files with 3,359 additions and 38 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# - The help target was derived from https://stackoverflow.com/a/35730328/5601796

VENV ?= .venv
KFP_TEKTON_RELEASE ?= v1.0.0
KFP_TEKTON_RELEASE ?= v1.1.0
export VIRTUAL_ENV := $(abspath ${VENV})
export PATH := ${VIRTUAL_ENV}/bin:${PATH}
DOCKER_REGISTRY ?= aipipeline
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ For more details about the project please follow this detailed [blog post](https
## Architecture

We are currently using [Kubeflow Pipelines 1.7.0](https://github.com/kubeflow/pipelines/releases/tag/1.7.0) and
[Tekton >= 0.27.0](https://github.com/tektoncd/pipeline/releases/tag/v0.27.0)
[Tekton >= 0.30.0](https://github.com/tektoncd/pipeline/releases/tag/v0.30.0)
for this project.

![kfp-tekton](images/kfp-tekton.png)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.1.0
2 changes: 1 addition & 1 deletion guides/developer_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ If you would like to do it in development mode, or if you already have a Kubeflo
## Prerequisites

1. [Install Tekton](https://github.com/tektoncd/pipeline/blob/master/docs/install.md#installing-tekton-pipelines-on-kubernetes).
- Minimum version: `0.27.0`
- Minimum version: `0.30.0`
2. Patch the Tekton configs for KFP
```shell
kubectl patch cm feature-flags -n tekton-pipelines \
Expand Down
16 changes: 8 additions & 8 deletions guides/kfp_tekton_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

## Installation Targets and Prerequisites

A Kubernetes cluster `v1.19` that has least 8 vCPU and 16 GB memory.
A Kubernetes cluster `v1.20` that has least 8 vCPU and 16 GB memory.

### IBM Cloud Kubernetes Service (IKS)

Expand All @@ -23,7 +23,7 @@ A Kubernetes cluster `v1.19` that has least 8 vCPU and 16 GB memory.
### OpenShift

Depending on your situation, you can choose between the two approaches to set up the pipeline engine on Openshift:
1. Leverage [OpenShift Pipelines](https://docs.openshift.com/container-platform/4.7/cicd/pipelines/installing-pipelines.html) (built on Tekton)
1. Leverage [OpenShift Pipelines](https://docs.openshift.com/container-platform/4.9/cicd/pipelines/installing-pipelines.html) (built on Tekton)
2. Install Tekton as part of deployment

Once you decided your approach, follow the [Standalone Kubeflow Pipelines with Tekton Backend Deployment](#standalone-kubeflow-pipelines-with-tekton-backend-deployment) to install the Kubeflow Pipeline Stack.
Expand All @@ -36,23 +36,23 @@ A Kubernetes cluster `v1.19` that has least 8 vCPU and 16 GB memory.

To install the standalone Kubeflow Pipelines with Tekton, run the following steps:

1. Install [Tekton v0.27.0](https://github.com/tektoncd/pipeline/blob/v0.27.0/docs/install.md#installing-tekton-pipelines-on-kubernetes) if you don't have Tekton pipelines or OpenShift Pipelines on the cluster. Please be aware that Tekton custom task, loop, and recursion will not work if Tekton/Openshift pipelines version is not v0.25.0+.
1. Install [Tekton v0.30.0](https://github.com/tektoncd/pipeline/blob/v0.30.0/docs/install.md#installing-tekton-pipelines-on-kubernetes) if you don't have Tekton pipelines or OpenShift Pipelines on the cluster. Please be aware that Tekton custom task, loop, and recursion will not work if Tekton/Openshift pipelines version is not v0.28.0+.

2. Enable custom task controller and other feature flags for kfp-tekton
```shell
kubectl patch cm feature-flags -n tekton-pipelines \
-p '{"data":{"enable-custom-tasks": "true", "enable-api-fields": "alpha"}}'
```

3. Install Kubeflow Pipelines with Tekton backend (`kfp-tekton`) `v1.0.0` [custom resource definitions](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/)(CRDs).
3. Install Kubeflow Pipelines with Tekton backend (`kfp-tekton`) `v1.1.0` [custom resource definitions](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/)(CRDs).
> Note: You can ignore the error `no matches for kind "Application" in version "app.k8s.io/v1beta1"` since it's a warning saying `application` CRD is not yet ready.
```shell
kubectl apply --selector kubeflow/crd-install=true -f install/v1.0.0/kfp-tekton.yaml
kubectl apply --selector kubeflow/crd-install=true -f install/v1.1.0/kfp-tekton.yaml
```

4. Install Kubeflow Pipelines with Tekton backend (`kfp-tekton`) `v1.0.0` deployment
4. Install Kubeflow Pipelines with Tekton backend (`kfp-tekton`) `v1.1.0` deployment
```shell
kubectl apply -f install/v1.0.0/kfp-tekton.yaml
kubectl apply -f install/v1.1.0/kfp-tekton.yaml
```

5. Then, if you want to expose the Kubeflow Pipelines endpoint outside the cluster, run the following commands:
Expand All @@ -76,7 +76,7 @@ To install the standalone Kubeflow Pipelines with Tekton, run the following step

1. Follow the [Kubeflow install instructions](https://www.kubeflow.org/docs/ibm/deploy/install-kubeflow-on-iks/#kubeflow-installation)
to install the entire Kubeflow stack with `kfp-tekton`.
Kubeflow `v1.4.0` uses Tekton `v0.27.0` and `kfp-tekton` `v1.0.0`. <!-- TODO update-->
Kubeflow `v1.5.0` uses Tekton `v0.30.0` and `kfp-tekton` `v1.1.0`. <!-- TODO update-->

2. Visit [KFP Tekton User Guide](/guides/kfp-user-guide) and start learning how to use Kubeflow pipeline.

Expand Down
Loading

0 comments on commit b1bb32b

Please sign in to comment.