Skip to content

Commit 5ec9b00

Browse files
imjasonhtekton-robot
authored andcommitted
Remove vendor-specific cluster setup instructions
1 parent 3dbfe8d commit 5ec9b00

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

docs/install.md

+8-15
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ This guide explains how to install Tekton Pipelines. It covers the following top
1212

1313
## Before you begin
1414

15+
1. You must have a Kubernetes cluster running version 1.16 or later.
16+
17+
If you don't already have a cluster, you can create one for testing with `kind`.
18+
[Install `kind`](https://kind.sigs.k8s.io/docs/user/quick-start/#installation) and create a cluster by running [`kind create cluster`](https://kind.sigs.k8s.io/docs/user/quick-start/#creating-a-cluster). This
19+
will create a cluster running locally, with RBAC enabled and your user granted
20+
the `cluster-admin` role.
21+
1522
1. Choose the version of Tekton Pipelines you want to install. You have the following options:
1623

1724
* **[Official](https://github.com/tektoncd/pipeline/releases)** - install this unless you have
@@ -21,21 +28,7 @@ This guide explains how to install Tekton Pipelines. It covers the following top
2128
* **[`HEAD`]** - this is the bleeding edge. It contains unreleased code that may result
2229
in unpredictable behavior. To get started, see the [development guide](https://github.com/tektoncd/pipeline/blob/master/DEVELOPMENT.md) instead of this page.
2330

24-
2. If you don't have an existing Kubernetes cluster, set one up, version 1.16 or later:
25-
26-
```bash
27-
#Example command for creating a cluster on GKE
28-
gcloud container clusters create $CLUSTER_NAME \
29-
--zone=$CLUSTER_ZONE --cluster-version=latest
30-
```
31-
32-
3. Grant `cluster-admin` permissions to the current user:
33-
34-
```bash
35-
kubectl create clusterrolebinding cluster-admin-binding \
36-
--clusterrole=cluster-admin \
37-
--user=$(gcloud config get-value core/account)
38-
```
31+
1. Grant `cluster-admin` permissions to the current user.
3932

4033
See [Role-based access control](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control#prerequisites_for_using_role-based_access_control)
4134
for more information.

0 commit comments

Comments
 (0)