- You need access to a cluster with full admin privileges.
- Allocate enough RAM and CPU so that all the pods, including sidecar pods, will run smoothly on a single node.
- Add multiple nodes to increase parallel pipeline runs.
# Install Tekton pipelines
kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml
# Install Tekton triggers
kubectl apply --filename https://storage.googleapis.com/tekton-releases/triggers/latest/release.yaml
# Install Tekton interceptors
kubectl apply --filename https://storage.googleapis.com/tekton-releases/triggers/latest/interceptors.yaml
# Install Tekton dashboard - full installation is needed for read/write capabilities. eg: to make changes in the pipeline, such as re-running a pipeline run or deleting a pipeline run.
kubectl apply --filename https://storage.googleapis.com/tekton-releases/dashboard/latest/release-full.yaml
# Make sure all pods are in the ready state before proceeding further by issuing the following command.
kubectl get pods --namespace tekton-pipelines --watch
# To access the dashboard in localhost
kubectl proxy
- If you have successfully completed the above mentioned steps, you should be able to access the Tekton Dashboard from here
-
Individual pipelines can be found in their respective directories here. You will find detailed usage instructions in a README file within each directory.
- Deletion of old pipeline run resources will be automatically handled by a cron job by default. You can review the configuration in
cleanup-cron-job.yaml
. Feel free to edit theNUM_TO_KEEP
variable to specify the number of old pipeline runs you wish to retain. The default value is50
.