Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.85 KB

2.install-tekton.md

File metadata and controls

50 lines (32 loc) · 1.85 KB

Install Tekton

During the section we'll install tekton pipelines & tekton triggers to the cluster.

  • Tekton Pipelines project provides k8s-style resources for declaring CI/CD-style pipelines.
  • Tekton Triggers project allows you to extract information from events payloads (a "trigger") to create Kubernetes resources.

This tutorial was tested with tekton-pipeline v0.20.1 and tekton-releases v0.11.1. The installation steps are pinned with those versions.

Steps

# install tekton pipeline
kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.20.1/release.yaml

# install tekton releases
kubectl apply -f https://storage.googleapis.com/tekton-releases/triggers/previous/v0.11.1/release.yaml

monitor pods are running:

kubectl get pods --namespace tekton-pipelines --watch

Deep Dive

If you want to learn more about the steps involved in this section, here are some interesting references:

Next Step

Once tekton is installed, see the Install Build Task tutorial.

Tear Down

If you want to tear down the tekton installation:

# uninstall tekton releases
kubectl delete -f https://storage.googleapis.com/tekton-releases/triggers/previous/v0.11.1/release.yaml

# uninstall tekton pipeline
kubectl delete -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.20.1/release.yaml