Skip to content

Latest commit

 

History

History
93 lines (67 loc) · 3.12 KB

install.md

File metadata and controls

93 lines (67 loc) · 3.12 KB

Installing Tekton Triggers

Use this page to add the component to an existing Kubernetes cluster.

Pre-requisites

  1. A Kubernetes cluster version 1.17 or later

    If you don't already have a cluster, you can create one for testing with kind. Install kind and create a cluster by running kind create cluster. This will create a cluster running locally, with RBAC enabled.

  2. Grant current user cluster-admin privileges.

    See Role-based access control for more information.

  3. Install Tekton Pipelines. You can install the latest version using the command below or follow the pipeline installation guide:

    kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml

Versions

The versions of Tekton Triggers available are:

Installing Tekton Triggers

To add the Tekton Triggers component to an existing cluster:

  1. Run the kubectl apply command to install Tekton Triggers and its dependencies:

    kubectl apply --filename https://storage.googleapis.com/tekton-releases/triggers/latest/release.yaml

    You can install a specific previous release using previous/$VERSION_NUMBER, e.g.

    kubectl apply -f https://storage.googleapis.com/tekton-releases/triggers/previous/v0.1.0/release.yaml

    To install a nightly release, use:

    kubectl apply --filename https://storage.googleapis.com/tekton-releases-nightly/triggers/latest/release.yaml
  2. Run the kubectl get command to monitor the Tekton Triggers components until all of the components show a STATUS of Running:

    kubectl get pods --namespace tekton-pipelines

    Tip: Instead of running the kubectl get command multiple times, you can append the --watch flag to view the component's status updates in real time. Use CTRL + C to exit watch mode.

You are now ready to create and run Tekton Triggers: