Difficulty: Beginner
Estimated Time: 30

Introduction to the Tekton Dashboard

In this tutorial, we will go through:

  • Installing the Tekton Dashboard
  • Importing a Tekton Pipeline using the Tekton Dashboard
  • Creating a PipelineResource using the Tekton Dashboard
  • Creating a PipelineRun using the Tekton Dashboard
  • Monitoring the logs of a PipelineRun using the Tekton Dashboard

Additional resources

Learn more about the Tekton Dashboard

https://github.com/tektoncd/dashboard

Learn more about Tekton Pipelines

https://github.com/tektoncd/pipeline

Get involved in the Tekton Community

https://github.com/tektoncd/community#want-to-get-involved

Tekton Dashboard

Step 1 of 5

Install the Tekton Dashboard

In this section, we will install and expose the Tekton Dashboard.

Katacoda Kubernetes Cluster

It might take a minute or two for Katacoda to initialize your Kubernetes cluster. When your cluster has been initialized, the kubectl cluster-info command will return the cluster info.

Now, let's begin!

Install the Tekton Dashboard Prerequisites

  • Tekton Pipelines kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.20.0/release.yaml

Verify the pods are running: kubectl get pods -n tekton-pipelines

Install the Tekton Dashboard

For reference, the installation instructions are here. To install the Tekton Dashboard, run the following command: kubectl apply --filename https://storage.googleapis.com/tekton-releases/dashboard/previous/v0.13.0/tekton-dashboard-release.yaml

Verify the Dashboard pod is running: kubectl get pods -n tekton-pipelines

Expose the Tekton Dashboard

View the Tekton Dashboard Service: kubectl get svc tekton-dashboard -n tekton-pipelines

The Tekton Dashboard Service is exposed on port 9097. So, set up a port forward for the tekton-dashboard Service on port 9097:

kubectl port-forward -n tekton-pipelines --address=0.0.0.0 service/tekton-dashboard 80:9097 > /dev/null 2>&1 &

Open the Tekton Dashboard

Open the Dashboard tab in your Katacoda window, or click on the following link: https://[[HOST_SUBDOMAIN]]-80-[[KATACODA_HOST]].environments.katacoda.com/.

It might take a minute for the ingress and Katacoda to get set up.

Dashboard homepage screenshot