tekton, visualized

CI/CD where every build is a Pod and every pipeline is an API object.

Tekton is an open-source framework for building CI/CD systems on Kubernetes. Each of the twelve parts here is a page of small working models. Watch the entrypoint run steps in order inside one Pod, schedule a DAG, overflow a result, pin a ReadWriteOnce volume to one node, send a forged webhook, or tamper with a signed image and see verification fail.

From git push to signed image

One commit going through the whole Tekton stack. Triggers turn the webhook into a PipelineRun, Pipelines runs the DAG of Tasks as Pods, and Chains signs what came out.

inject:
t = 0s
TRIGGERSPIPELINES · one Pod per taskCHAINSgit pushGitHub webhookEventListenerinterceptorsTriggerTemplate→ PipelineRunPipelineRunreconcilegit-cloneTask → Podunit-testparallellintparallelbuild-pushkaniko · resultsdeploykubectl applynotifyfinallyTekton Chainssign · attestregistryimage .sig .att
PipelineRun
pending

The Tekton controller notices the new PipelineRun. It resolves the Pipeline (from the cluster, git or an OCI bundle), validates it, builds the DAG and creates one TaskRun for each task that is ready.

Try: press ▶ git push, then switch to “tests fail” and replay. build-push and deploy are skipped, notify still runs because it is in finally, and Chains still attests the TaskRuns but has no image to sign. Click any box to see what it does.

design principle
Kubernetes-native

There is no CI server. A Pipeline is a YAML object in etcd, a run is another object, and each task runs as a Pod that the cluster schedules, scales and isolates.

design principle
Composable

Steps make Tasks, Tasks make Pipelines, and each layer is parameterized and reusable. You can load them from git, OCI bundles or a catalog instead of copy-pasting.

design principle
Verifiable

Every run leaves structured records: results, status and logs. Chains turns those records into signed SLSA provenance, so a deploy can check where its image came from.

I · Building blocks

Tekton is a set of Kubernetes custom resources and the controllers that reconcile them. The smallest unit is a Step: a container. A Task is Steps in one Pod.

II · Composing pipelines

Pipelines wire Tasks into a DAG. Params and results carry small data between them, workspaces carry files, and when, finally and matrix shape the flow.

III · Running safely

Which identity a run uses, where its definitions come from, and how you later prove what it built.

IV · Ecosystem

Turning webhooks into runs, and the tools for living with Tekton in production: tkn, the Dashboard, Results, the Operator and Pipelines-as-Code.

13 · reference
Glossary: 233 concepts, searchable →

Every Tekton term and field from every part, in plain language, linked to its visualization.

An independent learning aid, not affiliated with the Tekton project, the Continuous Delivery Foundation or the Linux Foundation. Explanations are paraphrased and simplified, and the simulations are models, not Tekton itself. The authoritative reference is the official documentation at tekton.dev/docs. Source code on GitHub.