Skip to content

Commit

Permalink
Update Tekton API client to 0.21 (kubeflow#476)
Browse files Browse the repository at this point in the history
* test

* update tekton reference to 0.21
  • Loading branch information
Tomcli committed Feb 19, 2021
1 parent a1022cb commit bd49a2d
Show file tree
Hide file tree
Showing 8 changed files with 143 additions and 123 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ has Steps. Please look for more details in [Tekton repo](https://github.com/tekt
## Kubeflow Pipeline with Tekton Backend

We are currently using [Kubeflow Pipelines 1.3.0](https://github.com/kubeflow/pipelines/releases/tag/1.3.0) and
[Tekton >= 0.20.1](https://github.com/tektoncd/pipeline/releases/tag/v0.20.1) for this project.
[Tekton >= 0.21.0](https://github.com/tektoncd/pipeline/releases/tag/v0.21.0) for this project.

![kfp-tekton](images/kfp-tekton.png)

Expand Down
19 changes: 10 additions & 9 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/go-openapi/errors v0.19.2
github.com/go-openapi/runtime v0.19.4
github.com/go-openapi/strfmt v0.19.3
github.com/go-openapi/swag v0.19.8
github.com/go-openapi/swag v0.19.13
github.com/go-openapi/validate v0.19.5
github.com/go-sql-driver/mysql v1.5.0
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
Expand All @@ -27,19 +27,20 @@ require (
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.8.0
github.com/robfig/cron v1.2.0
github.com/sirupsen/logrus v1.6.0
github.com/sirupsen/logrus v1.7.0
github.com/spf13/viper v1.7.0
github.com/stretchr/testify v1.5.1
github.com/tektoncd/pipeline v0.20.1
golang.org/x/net v0.0.0-20201209123823-ac852fbbde11
github.com/stretchr/testify v1.6.1
github.com/tektoncd/pipeline v0.21.0
go.uber.org/zap v1.16.0
golang.org/x/net v0.0.0-20210119194325-5f4716e94777
google.golang.org/api v0.36.0
google.golang.org/genproto v0.0.0-20201211151036-40ec1c210f7a
google.golang.org/grpc v1.34.0
gopkg.in/yaml.v2 v2.3.0
k8s.io/api v0.18.12
k8s.io/apimachinery v0.18.12
gopkg.in/yaml.v2 v2.4.0
k8s.io/api v0.19.7
k8s.io/apimachinery v0.19.7
k8s.io/client-go v11.0.1-0.20190805182717-6502b5e7b1b5+incompatible
k8s.io/code-generator v0.18.12
k8s.io/code-generator v0.19.7
sigs.k8s.io/controller-runtime v0.6.4
)

Expand Down
229 changes: 124 additions & 105 deletions go.sum

Large diffs are not rendered by default.

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.20.1`
- Minimum version: `0.21.0`
2. Clone this repository
```
git clone https://github.com/kubeflow/kfp-tekton.git
Expand Down
6 changes: 3 additions & 3 deletions guides/kfp-tekton-openshift.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

* Install Tekton Pipelines CLI

Follow this [link](https://github.com/tektoncd/cli) to install Tekton Pipelines CLI. 'X' is your version number. We recommend version v0.14 and above, and ideally Tekton v0.16
Follow this [link](https://github.com/tektoncd/cli) to install Tekton Pipelines CLI. 'X' is your version number. We recommend version v0.14 and above, and ideally Tekton v0.21

```shell
# Get the tar.gz
Expand All @@ -32,9 +32,9 @@
```

If the `Pipeline version` in the output is `unknown` or >=`v0.14.0`, then continue to next step.

Otherwise, the existing version won't work with the Kubeflow kfp-tekton project, which requires a minimum Tekton version of v0.14.0. Remove it from your cluster before proceeding further.
* Set up default StorageClass
A default storageclass is required to deploy Kubeflow. To check if your cluster has a default storageclass, run
Expand Down
2 changes: 1 addition & 1 deletion guides/kfp_tekton_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ A Kubernetes cluster `v1.18` 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.20.1](https://github.com/tektoncd/pipeline/releases/tag/v0.20.1)
1. Install [Tekton v0.21.0](https://github.com/tektoncd/pipeline/releases/tag/v0.21.0)

2. Install Kubeflow Pipelines with Tekton backend (`kfp-tekton`) `v0.6.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.
Expand Down
2 changes: 1 addition & 1 deletion sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ adding the `TektonCompiler` and the `TektonClient`:
## Project Prerequisites

- Python: `3.6` or later
- Tekton: [`v0.16.3`](https://github.com/tektoncd/pipeline/releases/tag/v0.16.3) or [later](https://github.com/tektoncd/pipeline/releases/latest)
- Tekton: [`v0.21.0`](https://github.com/tektoncd/pipeline/releases/tag/v0.21.0) or [later](https://github.com/tektoncd/pipeline/releases/latest)
- Tekton CLI: [`0.11.0`](https://github.com/tektoncd/cli/releases/tag/v0.11.0)
- Kubeflow Pipelines: [KFP with Tekton backend](/guides/kfp_tekton_install.md)

Expand Down
4 changes: 2 additions & 2 deletions sdk/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ can be found in the [SDK README](/sdk/README.md)
## Development Prerequisites

1. [`Python`](https://www.python.org/downloads/): version `3.6` or later (new code must maintain compatibility with `3.6`)
2. [`Kubernetes` Cluster](https://kubernetes.io/): version `1.18` ([required by Kubeflow](https://www.kubeflow.org/docs/started/k8s/overview/) and Tekton `0.20`)
2. [`Kubernetes` Cluster](https://kubernetes.io/): version `1.18` ([required by Kubeflow](https://www.kubeflow.org/docs/started/k8s/overview/) and Tekton `0.21`)
3. [`kubectl` CLI](https://kubernetes.io/docs/tasks/tools/install-kubectl/): required to deploy Tekton pipelines to Kubernetes cluster
4. [`Tekton` Deployment](https://github.com/tektoncd/pipeline/releases/tag/v0.16.3/): version `0.16.3` or greater, required for end-to-end testing
4. [`Tekton` Deployment](https://github.com/tektoncd/pipeline/releases/tag/v0.21.0/): version `0.21.0` or greater, required for end-to-end testing
5. [`tkn` CLI](https://github.com/tektoncd/cli#installing-tkn): version `0.11.0` or greater, required for end-to-end testing of Tekton pipelines
6. [`Kubeflow Pipelines` Deployment](https://www.kubeflow.org/docs/pipelines/installation/overview/): required for some end-to-end tests

Expand Down

0 comments on commit bd49a2d

Please sign in to comment.