Skip to content

Tekton

Components

Tekton is built with Kubernetes CRDs:

Concept Description Diagram
Step
  • A step is a container spec (which is an existing kubernetes type)
  • It is a container image with all the information you need to run it (env vars, args, volumes, etc.)
Tasks
  • Tasks express a sequence of Steps
  • These steps run in sequential order on the same kubernetes node
Pipeline
  • Pipelines let you express the order these Tasks run in
  • You can run them
    • sequentially
    • concurrently
    • on different nodes
  • With Pipelines you can also connect the outputs of one Task with the inputs of another
Runtime
  • Instances of Pipeline/Task:
    • PipelineRun
    • TaskRun
  • PipelineResource
    • Runtime info like image registry, git repo, etc.

Triggers

Tekton Triggers defines CRDs that let you express how to create PipelineRuns in response to events.