Kubernetes-native CI/CD pipeline system including Task, Pipeline, Trigger CRDs, workspace sharing, Artifact Hub reuse, and CI/CD integration patterns. Use when building or reviewing Tekton pipelines on Kubernetes.
| CRD | Purpose | Scope |
|---|---|---|
Task | Reusable step definition (container sequence) | Namespace |
ClusterTask | Cluster-wide reusable Task | Cluster |
TaskRun | Single Task execution instance | Namespace |
Pipeline | Ordered Task graph with params/workspaces | Namespace |
PipelineRun | Single Pipeline execution instance | Namespace |
EventListener | Webhook receiver that triggers pipelines | Namespace |
TriggerBinding |
| Extracts event fields into params |
| Namespace |
TriggerTemplate | Template for creating TaskRun/PipelineRun | Namespace |
TaskRun creates one Kubernetes Podstep inside a Task runs as a separate container within that Pod/tekton/results directoryTekton is installed in modular components:
# Core pipeline engine
kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml
# Triggers (EventListener, webhook handling)
kubectl apply -f https://storage.googleapis.com/tekton-releases/triggers/latest/release.yaml
# Dashboard (optional UI)
kubectl apply -f https://storage.googleapis.com/tekton-releases/dashboard/latest/release.yaml
All components install into the tekton-pipelines namespace.
tkn)# View pipeline runs
tkn pipelinerun ls -n my-namespace
# View logs
tkn pipelinerun logs <pipeline-run-name> -f -n my-namespace
# Start pipeline manually
tkn pipeline start my-pipeline -n my-namespace
apiVersion: tekton.dev/v1