_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
References Technologies Blog Know-how Tools
About Collaboration Careers
CS EN
Let's talk

Tekton — Cloud-Native CI/CD Pipelines

20. 08. 2025 1 min read intermediate

Tekton as a Kubernetes-native CI/CD framework. Tasks, Pipelines, Triggers and ecosystem integration.

What is Tekton

Tekton is an open-source CI/CD framework built on Kubernetes CRDs. Each pipeline step runs as a container in a pod.

  • Task — sequence of steps in one pod
  • Pipeline — orchestration of tasks with dependencies
  • PipelineRun — pipeline run instance
  • Trigger — pipeline execution based on event

Task Definition

apiVersion: tekton.dev/v1
kind: Task
metadata:
  name: build-and-push
spec:
  params:
    - name: IMAGE
      type: string
  workspaces:
    - name: source
  steps:
    - name: build
      image: gcr.io/kaniko-project/executor:latest
      args:
        - --destination=$(params.IMAGE)
        - --context=$(workspaces.source.path)
        - --cache=true

Pipeline

apiVersion: tekton.dev/v1
kind: Pipeline
metadata:
  name: ci-pipeline
spec:
  workspaces:
    - name: shared-workspace
  tasks:
    - name: fetch-source
      taskRef:
        name: git-clone
      workspaces:
        - name: output
          workspace: shared-workspace
    - name: build
      taskRef:
        name: build-and-push
      runAfter: [fetch-source]
      params:
        - name: IMAGE
          value: registry.example.com/app:latest
      workspaces:
        - name: source
          workspace: shared-workspace

Triggers

Tekton Triggers spouští pipeline na základě webhooků.

apiVersion: triggers.tekton.dev/v1beta1
kind: EventListener
metadata:
  name: github-listener
spec:
  triggers:
    - name: github-push
      interceptors:
        - ref:
            name: github
          params:
            - name: eventTypes
              value: [push]
      bindings:
        - ref: github-binding
      template:
        ref: pipeline-template

Summary

Tekton přináší Kubernetes-nativní CI/CD s plnou izolací kroků v kontejnerech. Ideální pro týmy, které chtějí CI/CD jako součást K8s ekosystému.

Need Help with Implementation?

Our team has experience designing and implementing modern architectures. We’re happy to help.

Free Consultation

Share:

CORE SYSTEMS tým

Stavíme core systémy a AI agenty, které drží provoz. 15 let zkušeností s enterprise IT.