Tekton Pipelines on Kubernetes
Advanced · 45 minutes · 100 points
In this advanced hands-on lab, you will explore Tekton Pipelines — a powerful, Kubernetes-native CI/CD framework. You will install the Tekton CLI (tkn), work with Tekton resource manifests (Tasks, Pipelines, PipelineRuns), validate YAML definitions, simulate pipeline execution logic, and understand the core building blocks of a Tekton-based CI/CD workflow. This lab focuses on the foundational concepts and tooling required to design and operate Tekton Pipelines in a real Kubernetes environment.
What you’ll learn
- Install and verify the Tekton CLI (tkn) and understand its command structure
- Author valid Tekton Task and Pipeline YAML manifests following the Tekton API specification
- Construct a complete Tekton PipelineRun manifest with parameter bindings and workspace definitions
- Validate Tekton resource manifests using yamllint and structural inspection tools
- Understand the relationship between Tasks, Pipelines, PipelineRuns, and Workspaces in Tekton
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: A container on your computer, with a real terminal
- Image: ubuntu:22.04
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
- Internet access to download Tekton CLI
Topics: tekton, kubernetes, ci-cd, pipelines, devops, yaml, automation, cloud-native, tkn, gitops
Create a free account to start this lab.