Install and set up Tekton Triggers
This document shows you how to install and set up Tekton Triggers.
- Kubernetes cluster version 1.18 or later.
- Tekton Pipelines.
cluster-adminprivileges to the user that installed Tekton Pipelines. See the kubernetes role-based access control (RBAC) docs.
Log on to your Kubernetes cluster with the same user account that installed Tekton Pipelines.
Depending on which version of Tekton Triggers you want to install, run one of the following commands:
Latest official release
kubectl apply --filename \ https://storage.googleapis.com/tekton-releases/triggers/latest/release.yaml kubectl apply --filename \ https://storage.googleapis.com/tekton-releases/triggers/latest/interceptors.yaml
kubectl apply --filename \ https://storage.googleapis.com/tekton-releases-nightly/triggers/latest/release.yaml kubectl apply --filename \ https://storage.googleapis.com/tekton-releases-nightly/triggers/latest/interceptors.yaml
kubectl apply --filename \ https://storage.googleapis.com/tekton-releases/triggers/previous/VERSION_NUMBER/release.yaml kubectl apply --filename \ https://storage.googleapis.com/tekton-releases/triggers/previous/VERSION_NUMBER/interceptors.yaml
VERSION_NUMBERwith the numbered version you want to install. For example,
If your container runtime does not support
cri-oused in OpenShift 4.x):
kubectl apply --filename \ https://storage.googleapis.com/tekton-releases/triggers/latest/release.notags.yaml kubectl apply --filename \ https://storage.googleapis.com/tekton-releases/triggers/latest/interceptors.notags.yaml
To monitor the installation, run:
kubectl get pods --namespace tekton-pipelines --watch
When all components show
READYcolumn, the installation is complete. Hit Ctrl + C to stop monitoring.
You can customize the behavior of the Triggers Controller changing some values
Enable alpha features. Set the value of
"alpha", the default value is
"stable". This flag only applies to the v1beta1 API version.
Exclude labels. Set the
labels-exclusion-pattern:field to a regex pattern. Labels that match this pattern are excluded from getting added to the resources created by the EventListener. By default this field is empty, so all labels added to the EventListener are propagated down.
Was this page helpful?
Thanks! Tell us how we can further improve.
Sorry about that. Tell us how we can further improve.