Skip to content

Install Tekton Operator

The Tekton Operator provides a Kubernetes-native way to install, upgrade, and manage Tekton components on your cluster. It uses a TektonConfig custom resource to manage the lifecycle of Tekton Pipelines, Triggers, Dashboard, and Chains.

Install the Operator

Install the latest release of Tekton Operator:

kubectl apply -f https://storage.googleapis.com/tekton-releases/operator/latest/release.yaml

Monitor the installation:

kubectl get deploy -n tekton-operator --watch

Create a TektonConfig

Once the Operator is running, create a TektonConfig to install all Tekton components:

apiVersion: operator.tekton.dev/v1alpha1
kind: TektonConfig
metadata:
  name: config
spec:
  profile: all
  targetNamespace: tekton-pipelines

Apply it:

kubectl apply -f tektonconfig.yaml

The profile field controls which components are installed:

ProfileComponents
allPipelines, Triggers, Dashboard, Chains
basicPipelines, Triggers
litePipelines only

Verify the installation

kubectl get tektonconfig config
kubectl get pods -n tekton-pipelines

Upgrade

To upgrade Tekton components, update the Operator:

kubectl apply -f https://storage.googleapis.com/tekton-releases/operator/latest/release.yaml

The Operator automatically upgrades the managed components.

Learn more