Tekton Pipelines on kind

Priti Desai
Tekton Pipelines
Published in
2 min readJul 20, 2023
Tekton on Kind

kind is an easy and quick way to create a Kubernetes cluster locally. Here are a quick set of instructions on how to deploy a latest Tekton Pipelines on kind cluster.

Step 1: Create a kind cluster.

Refer to the guide which covers getting started with the kind CLI.

kind create cluster --name tekton
Creating cluster "tekton" ...
✓ Ensuring node image (kindest/node:v1.26.3) 🖼
✓ Preparing nodes 📦
✓ Writing configuration 📜
✓ Starting control-plane 🕹️
✓ Installing CNI 🔌
✓ Installing StorageClass 💾
Set kubectl context to "kind-tekton"
You can now use your cluster with:

kubectl cluster-info --context kind-tekton

Not sure what to do next? 😅 Check out https://kind.sigs.k8s.io/docs/user/quick-start/

Step 2: Confirming the Kubernetes config points to the kind cluster created in Step 1.

kubectl config current-context
kind-tekton

kubectl cluster-info
Kubernetes control plane is running at https://127.0.0.1:63249
CoreDNS is running at https://127.0.0.1:63249/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.

Step 3: Install latest Tekton Pipelines.

kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml 

Step 4: Verify Tekton controllers are running.

 kubectl get pods --namespace tekton-pipelines        

NAME READY STATUS RESTARTS AGE
tekton-events-controller-6f577764d8-hn8hd 1/1 Running 0 101m
tekton-pipelines-controller-9fb9cb6b5-w2ltf 1/1 Running 0 101m
tekton-pipelines-webhook-ccc666c5f-djn9t 1/1 Running 0 101m

It’s that easy! There is no specific environment or any other configuration necessary.

--

--

Priti Desai
Tekton Pipelines

Developer Lead @IBM. Tekton maintainer. Co-founder of License Scanner @Cyclonedx