Skip to content
A dashboard for Tekton!
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add a few docs that were missing 📝 Apr 30, 2019
.storybook add a namespaces dropdown component May 14, 2019
cmd/dashboard Add informer controller, restructure packages and refactor tests Jul 3, 2019
config Fix pipeline-0 root directory default Jul 22, 2019
config_frontend Advocate using ko in developer docs (#55) Apr 17, 2019
docs Addresses Issue #141 Adjust API to use plurals nouns May 20, 2019
pkg Fixed unit test timeout issue Jul 22, 2019
src Fix pipeline-0 root directory default Jul 22, 2019
test Enable e2e tests once more Jul 16, 2019
testdata/web serve static resources, allow building of combined front and back end… Apr 25, 2019
.babelrc Improve front-end production build May 7, 2019
.browserslistrc Adding initial commit for front-end Apr 8, 2019
.dockerignore serve static resources, allow building of combined front and back end… Apr 25, 2019
.editorconfig fix indentation, update editor config rules May 1, 2019
.eslintrc.js Ensure braces are always added for blocks Jun 24, 2019
.gitignore Add 'npm run lint' to PR build May 30, 2019
.prettierrc Adding initial commit for front-end Apr 8, 2019
CONTRIBUTING.md Add a few docs that were missing 📝 Apr 30, 2019
DEVELOPMENT.md Update DEVELOPMENT.md to suggest Node.js 10.x and npm ci over npm ins… Jul 8, 2019
Dockerfile add component for manually creating a PipelineRun Jun 13, 2019
Dockerfile_race_test Add informer controller, restructure packages and refactor tests Jul 3, 2019
Dockerfile_test Add informer controller, restructure packages and refactor tests Jul 3, 2019
Gopkg.lock Ability to import resources into a target namespace Jul 18, 2019
Gopkg.toml Use tektoncd/plubming script for the CI May 15, 2019
LICENSE Initial commit Apr 4, 2019
OWNERS Update OWNERS Apr 25, 2019
README.md Simplify command to access Dashboard Jul 17, 2019
code-of-conduct.md Add a few docs that were missing 📝 Apr 30, 2019
install-dev.sh Add dev install script, modify readme to use, pipeline definitions in… Jun 11, 2019
jest.config.js Fix lint issues Apr 30, 2019
minishift-delete-dashboard.sh Minishift install and delete for different namespace Jul 15, 2019
minishift-install-dashboard.sh Minishift install and delete for different namespace Jul 15, 2019
package-lock.json Ability to import resources into a target namespace Jul 18, 2019
package.json Update lodash.merge Jul 18, 2019
webpack.common.js Improve front-end production build May 7, 2019
webpack.dev.js Add Cluster task navigation Jun 27, 2019
webpack.prod.js Improve front-end production build May 7, 2019

README.md

Tekton Dashboard

License

Tekton Dashboard is a general purpose, web-based UI for Tekton Pipelines. It allows users to manage and view Tekton Pipeline and Task runs and the resources involved in their creation, execution, and completion.

Dashboard UI workloads page

Pre-requisites

Tekton Pipelines 0.5 or later must be installed in order to use the Tekton Dashboard. Instructions to install Tekton Pipelines can be found here.

Install Dashboard

The Tekton Dashboard has a hosted image located at gcr.io/tekton-nightly/dashboard:latest To install the latest dashboard using this image:

kubectl apply -f config/release/gcr-tekton-dashboard.yaml

Alternatively, the dashboard can be installed through the same GitHub release asset:

curl -L https://github.com/tektoncd/dashboard/releases/download/v0/gcr-tekton-dashboard.yaml | kubectl apply -f -

Development installation of the Dashboard uses ko:

sh
$ docker login
$ export KO_DOCKER_REPO=docker.io/<mydockername>
$ ./install-dev.sh

The install-dev.sh script will build and push an image of the Tekton Dashboard to the Docker registry which you are logged into. Any Docker registry will do, but in this case it will push to Dockerhub. It will also apply the Pipeline0 definition and task: this allows you to import Tekton resources from Git repositories. It will also build the static web content using npm scripts.

Install on Minishift

  1. Install tektoncd-pipeline-operator
  2. Checkout the repository

If you want to install the dashboard into the tekton-pipelines namespace:

  • Install the Dashboard ./minishift-install-dashboard.sh

If you want to install the dashboard into any other namespace:

  • Install the Dashboard ./minishift-install-dashboard.sh -n {NAMESPACE}
  1. Wait until the pod tekton-dashboard-1 is running in the namespace the Dashboard is installed into

Accessing the Dashboard on Minishift

The Dashboard can be accessed by running kubectl --namespace tekton-pipelines port-forward svc/tekton-dashboard 9097:9097 If installed into a namespace other than tekton-pipelines then the dashboard can be accessed by running kubectl --namespace $NAMESPACE port-forward svc/tekton-dashboard 9097:9097 You can access the web UI at http://localhost:9097/

Uninstalling the Dashboard on Minishift

The Dashboard can be uninstalled on Minishift by running the command ./minishift-delete-dashboard.sh Use -n {NAMESPACE} on the end of the command if installed into a namespace other than tekton-pipelines

Accessing the Dashboard

The Dashboard can be accessed through its ClusterIP Service by running kubectl proxy. Assuming tekton-pipelines is the install namespace for the dashboard, you can access the web UI at localhost:8001/api/v1/namespaces/tekton-pipelines/services/tekton-dashboard:http/proxy/. An alternative way to access the Dashboard is using kubectl port-forward e.g. if you installed the Tekton Dashboad into the tekton-pipelines namespace (which is the deafult) you can access the Dashboard with kubectl --namespace tekton-pipelines port-forward svc/tekton-dashboard 9097:9097 and then just open localhost:9097.

Want to contribute

We are so excited to have you!

You can’t perform that action at this time.