Skip to content

Commit

Permalink
chore(release): Add kfp-tekton 1.9.0 release (#1422)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomcli authored Nov 27, 2023
1 parent e7d0cd0 commit a75d4b3
Show file tree
Hide file tree
Showing 11 changed files with 3,487 additions and 23 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.8.1
KFP_TEKTON_RELEASE ?= v1.9.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 @@ -20,7 +20,7 @@ We are currently using [Kubeflow Pipelines 1.8.4](https://github.com/kubeflow/pi
in the master branch for this project.

For [Kubeflow Pipelines 2.0.3](https://github.com/kubeflow/pipelines/releases/tag/2.0.3) and
[Tekton >= 0.50.3](https://github.com/tektoncd/pipeline/releases/tag/v0.50.3)
[Tekton >= 0.53.2](https://github.com/tektoncd/pipeline/releases/tag/v0.53.2)
integration, please check out the [kfp-tekton v2-integration](https://github.com/kubeflow/kfp-tekton/tree/v2-integration) branch and [KFP-Tekton V2 deployment](/guides/kfp_tekton_install.md#standalone-kubeflow-pipelines-v2-with-tekton-backend-deployment) instead.

![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.8.1
1.9.0
18 changes: 10 additions & 8 deletions guides/kfp_tekton_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,18 @@ Each new KFP-Tekton version is based on the long-term support of the Tekton Pipe
| 1.6.x | 0.44.x | 1.10 | V1beta1 | 1.16.0 |
| 1.7.x | 0.47.x | 1.11 | V1beta1 | 1.16.0 |
| 1.8.x | 0.50.x | 1.12 | V1 | 2.11.3 |
| 2.0.x | 0.47.x | 1.11 | V1 | 1.16.0 |
| 1.9.x | 0.53.x | 1.13 | V1 | 2.11.3 |
| 2.0.x | 0.47.x | 1.11 | V1beta1 | 1.16.0 |
| 2.1.x | 0.53.x | 1.13 | V1 | 1.16.0 |

## Standalone Kubeflow Pipelines V1 with Tekton Backend Deployment

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

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

```shell
kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.50.1/release.yaml
kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.53.2/release.yaml
```

2. Enable necessary Tekton configurations for kfp-tekton
Expand All @@ -71,14 +73,14 @@ To install the standalone Kubeflow Pipelines V1 with Tekton , run the following
-p '{"data":{"default-timeout-minutes": "0"}}'
```

3. Install Kubeflow Pipelines with Tekton backend (`kfp-tekton`) `v1.8.1` [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.9.0` [custom resource definitions](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/)(CRDs).
```shell
kubectl apply --selector kubeflow/crd-install=true -f https://raw.githubusercontent.com/kubeflow/kfp-tekton/master/install/v1.8.1/kfp-tekton.yaml
kubectl apply --selector kubeflow/crd-install=true -f https://raw.githubusercontent.com/kubeflow/kfp-tekton/master/install/v1.9.0/kfp-tekton.yaml
```

4. Install Kubeflow Pipelines with Tekton backend (`kfp-tekton`) `v1.8.1` deployment
4. Install Kubeflow Pipelines with Tekton backend (`kfp-tekton`) `v1.9.0` deployment
```shell
kubectl apply -f https://raw.githubusercontent.com/kubeflow/kfp-tekton/master/install/v1.8.1/kfp-tekton.yaml
kubectl apply -f https://raw.githubusercontent.com/kubeflow/kfp-tekton/master/install/v1.9.0/kfp-tekton.yaml
```

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

7. (OpenShift only) If you are running the standalone KFP-Tekton on OpenShift, apply the necessary security context constraint below
```shell
curl -L https://raw.githubusercontent.com/kubeflow/kfp-tekton/master/install/v1.8.1/kfp-tekton.yaml | yq 'del(.spec.template.spec.containers[].securityContext.runAsUser, .spec.template.spec.containers[].securityContext.runAsGroup)' | oc apply -f -
curl -L https://raw.githubusercontent.com/kubeflow/kfp-tekton/master/install/v1.9.0/kfp-tekton.yaml | yq 'del(.spec.template.spec.containers[].securityContext.runAsUser, .spec.template.spec.containers[].securityContext.runAsGroup)' | oc apply -f -
oc apply -k https://github.com/kubeflow/kfp-tekton//manifests/kustomize/third-party/openshift/standalone
oc adm policy add-scc-to-user anyuid -z tekton-pipelines-controller
oc adm policy add-scc-to-user anyuid -z tekton-pipelines-webhook
Expand Down
Loading

0 comments on commit a75d4b3

Please sign in to comment.