World of Tekton 😺 (Part 1)

Shivam Mukhade
3 min readFeb 18, 2022

--

This series will introduce you to the World of Tekton, its concepts and how you can leverage it to build an end to end CI/CD pipeline.

https://raw.githubusercontent.com/cdfoundation/artwork/main/tekton/horizontal/color/tekton-horizontal-color.png
tekton.dev

What is Tekton?

Well the Tekton Documentation says ..
Tekton is a powerful and flexible open-source framework for creating CI/CD systems, allowing developers to build, test, and deploy across cloud providers and on-premise systems.

Tekton provides Kubernetes(K8s) style resources for declaring CI/CD-style pipelines. So, the way we define a Deployment resource and expect Pods to be created. we define our pipelines using the resources provided by Tekton that are nothing but Custom Resource Definition (CRDs) and once we define them Tekton will run the pipeline based on our configurations.

Why Tekton ?

Tekton Pipelines are Cloud Native, it use K8s clusters as first class type and containers as their primary building blocks.

Tekton provides resources to build an end to end CI/CD pipeline with event based triggering of Pipelines.

The decoupled nature of Tekton Pipelines makes it possible to deploy same pipeline to any K8s cluster.

The Task which makes up the Pipeline can easily be run in isolation, without being affected by other processes running in the same system.

Tekton also provides the flexibility to easily swap resources such as git repositories, image registries while running your pipeline.

Tekton coupled with OpenShift ensures high availability of the system and scale on demand which is provided through OpenShift Pipelines. Also, you get improved logging/monitoring tools and fast self-recovery features in-built to K8s.

Sub-projects

  • Pipelines
    The core of Tekton which provides k8s-style resources for declaring CI/CD-style pipelines.
  • Triggers
    Triggering your pipelines based on events.
  • Dashboard
    Dashboard is a general purpose, web-based UI for Tekton Pipelines and Tekton triggers resources.
  • CLI
    CLI project provides a command-line interface (CLI) for interacting with Tekton resources.
  • Catalog
    This contains contains a catalog of Task resources which are designed to be reusable in many pipelines.
  • Hub
    Hub is a web based platform for developers to discover, share and contribute tasks and pipelines for Tekton. It showcases resources from the catalog.
  • Results
    Results aims to help users logically group CI/CD workload history and separate out long term result storage away from the Pipeline controller.
  • Chains
    Supply Chain Security in Tekton Pipelines

In this series, we will be exploring concepts of Pipelines and Triggers & build an end to end CI/CD pipeline using them.

What’s Next ...

--

--

Shivam Mukhade

Open-Source | Software Engineer | Kubernetes | OpenShift | Tekton | PipelinesAsCode