Kubernetes Native CI/CD
open sourceApache-2.0self-hostablefree
Tekton is a framework for building CI/CD systems that runs on Kubernetes: Tekton Pipelines adds custom resources (Tasks, Pipelines, TaskRuns, PipelineRuns, StepActions) whose steps run as containers in pods, so pipelines are declared in YAML, managed with kubectl and the Kubernetes API, and run on any cluster. Around it sit Tekton Triggers for starting runs from events, the tkn CLI, a web Dashboard, Chains for signing results and producing SLSA provenance, Results for long-term storage of run history, Pipelines-as-Code, the Operator and a catalog of reusable tasks fetched by git, cluster, HTTP and Hub resolvers. Platform teams use it to build their own CI/CD systems rather than as a hosted CI service. Formerly a CD Foundation project, it's now an incubating CNCF project, under Apache-2.0.
Problems it solves
- run our CI/CD pipelines inside our own Kubernetes cluster instead of a hosted CI service
- build an internal CI/CD platform for our developers out of reusable building blocks
- define build, test and deploy steps as Kubernetes resources we manage like any other manifest
- share the same task definitions across many teams' pipelines
- start a pipeline run automatically when a git push or webhook event arrives in the cluster
- sign build artifacts and produce SLSA provenance for our software supply chain
- build and push container images from inside a cluster as part of a pipeline
- keep a queryable history of pipeline runs and their logs after the pods are gone
- run the same pipeline on any Kubernetes cluster, on-premises or in any cloud
- fan out a pipeline step across a matrix of parameters
Features
- Task, Pipeline, TaskRun, PipelineRun, StepAction and CustomRun custom resources
- workspaces, results, matrix fan-out and pipelines in pipelines
- remote resolution of tasks from git, cluster, HTTP and Tekton Hub resolvers; Tekton Bundles
- Tekton Triggers: EventListeners, TriggerTemplates, bindings and interceptors
- tkn command-line interface
- Dashboard web UI for Pipelines and Triggers resources
- Tekton Chains: signing and SLSA provenance with Sigstore
- Tekton Results for storing run history
- Pipelines-as-Code and the Tekton Operator
- OpenTelemetry tracing and metrics
View 2 more
- Windows task support
- LTS releases
Limitations
- Doesn't run without Kubernetes: Tekton installs as an extension on a Kubernetes cluster, version 1.28 or later12
- Multi-tenant installs only partly supported: the install guide says multi-tenant installation is only partially supported today1
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
Alternatives
The same job
These do what Tekton does.
- Argo Workflows Workflow Engine for Kubernetes
- Drone A self-service Continuous Integration platform for busy development teams
- GitHub Actions Automate build, test and deployment workflows in GitHub
- Woodpecker CI A simple, yet powerful CI/CD engine with great extensibility
- Buildkite CI/CD with a hosted control plane and agents on your own infrastructure
- kind Run local Kubernetes clusters using Docker container nodes
