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.yamlMonitor the installation:
kubectl get deploy -n tekton-operator --watchCreate 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-pipelinesApply it:
kubectl apply -f tektonconfig.yamlThe profile field controls which components are installed:
| Profile | Components |
|---|---|
all | Pipelines, Triggers, Dashboard, Chains |
basic | Pipelines, Triggers |
lite | Pipelines only |
Verify the installation
kubectl get tektonconfig config
kubectl get pods -n tekton-pipelinesUpgrade
To upgrade Tekton components, update the Operator:
kubectl apply -f https://storage.googleapis.com/tekton-releases/operator/latest/release.yamlThe Operator automatically upgrades the managed components.
Learn more
- Tekton Operator repository
- TektonConfig API reference
- OpenShift Pipelines uses the Tekton Operator under the hood