Tekton — Build a pipeline on Kubernetes cloud native CI/CD tools

Tony Fu - OSCP, AWS SAP
7 min readNov 3, 2023

Tekton as a Kubernetes cloud native CI/CD tools is seamlessly integrates with Kubernetes, offering enhanced scalability, portability, and automation. It leverages Kubernetes’ orchestration capabilities to efficiently manage CI/CD pipelines, making it a powerful choice for cloud-native application development and deployment.

To gain a better understanding of the CI/CD pipeline workflow, practical experience is useful and good to understand how the step it goes.

Let’s get start at Environment setup

The blog here we are following the Tekton website instruction to setup a Tekton environment and builds a pipeline.

Installation minikube by Local Kubernetes, minikube facilitates local Kubernetes cluster development and testing. Follow these steps for installation:

First of all, install the docker. the error could come like below if no docker pre-install on the machine.

Docker Permission

  1. Modify the premission of the docker file path, sudo chmod 666 /var/run/docker.sock. The docker.sock is the file interact the Docker daemon connection.
  2. create a docker group by “sudo groupadd docker”, Add your user to the docker group “sudo usermod -aG docker

--

--

Tony Fu - OSCP, AWS SAP

Extensive experience as network engineer and cybersecurity engineer, interest in automation, simplifying architecture, and innovating with new technologies.