Skip to content

Commit

Permalink
Merge pull request #68 from a-roberts/readmeforinstall
Browse files Browse the repository at this point in the history
Install instructions using ko
  • Loading branch information
tekton-robot authored Apr 23, 2019
2 parents 9ac6875 + 7759e16 commit 8b61d0b
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,35 @@ Tekton Dashboard is a general purpose, web-based UI for Tekton Pipelines. It all
## Getting Started

**Currently** to view the backend APIs, at `localhost:9097/v1/namespaces/<namespace>/<resource name>` for example:


If you have `ko`:

Log in to Dockerhub and then use `ko`, for example:

```sh
$ docker login
$ export KO_DOCKER_REPO=docker.io/<mydockername>
$ ko apply -f config
```

This will build and push an image of the Tekton dashboard to a Dockerhub repository under your account.

Alternatively you can do the following:

```sh
$ docker build -t <mydockername>/dashboard:<mytag> .
- Replace the image path at `config/tekton-dashboard-deployment.yaml` with the value for <mydockername>/dashboard:<mytag>
$ kubectl apply -f tekton-dashboard-deployment.yaml
```

Regardless of which installation mechanism you choose, do the following to access the dashboard:

```sh
$ kubectl port-forward $(kubectl get pod -l app=tekton-dashboard -o name) 9097:9097
```

- Visit [localhost:9097](http://localhost:9097) in your web browser.

**Coming soon**
- Deploying the dashboard without using the `config/` yaml, and accessing using kubectl proxy. To deploy the dashboard, execute the following command:

Expand Down

0 comments on commit 8b61d0b

Please sign in to comment.