Tekton: Kubernetes-Native CI/CD
Shriira Press
A Kubernetes-native framework for building CI/CD systems out of small, composable, reusable pieces.
Welcome to Tekton: Kubernetes-Native CI/CD.
Tekton is an open-source framework, born in the Continuous Delivery Foundation and widely adopted across the cloud-native ecosystem, for building continuous integration and delivery systems that run directly on Kubernetes. Instead of bolting a build server onto a cluster, Tekton expresses pipelines as Kubernetes custom resources, so a Step is a container, a Task is a pod, and a Pipeline is a graph of pods scheduled by Kubernetes itself. This book starts with the problem Tekton was designed to solve and the philosophy behind it, then walks through its concept model of Steps, Tasks, and Pipelines, and the TaskRun and PipelineRun resources that bring them to life. From there we look closely at how a Task actually executes inside a pod through the entrypoint and sidecar mechanism, how Pipelines form a directed graph with ordering, conditions, and finally tasks, and how Workspaces, Params, and Results move data between the pieces. The later chapters cover Tekton Triggers for turning webhooks into runs, Tekton Chains for supply-chain provenance and signing, and the Catalog, Hub, resolvers, and the tkn command-line tool that make the whole framework practical day to day.
This title is part of the ShriIra library and is free to read in full, right here — our small contribution to making world-class knowledge easy to reach.
A note on reading it: open the Contents menu at the top of the reader to jump between chapters, use the Aa menu to set a comfortable text size, theme (light, sepia, or night), and single- or two-page layout. Your place is saved automatically, so you can always pick up where you left off.
We hope it serves you well.
— Shriira Press