Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example of ingress with path #2283

Merged
merged 1 commit into from
Jan 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 26 additions & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,32 @@ Notes:
- The exact `Ingress` resource definition may vary a little depending on the ingress controller installed in the cluster. Some specific annotations may be required for the ingress controller to process the `Ingress` resource correctly
- If you don't have access to a domain you can use the freely available [`nip.io`](https://nip.io/) service

An example using the NGINX ingress controller to expose the Dashboard on a specific path instead of at the root of the domain:

```yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: tekton-dashboard
namespace: tekton-pipelines
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /$2
spec:
rules:
- host: domain.tld
http:
paths:
- path: /tekton(/|$)(.*)
backend:
service:
name: tekton-dashboard
port:
number: 9097
```

You can then access the Dashboard UI at `http(s)://domain.tld/tekton/`

## Uninstalling the Dashboard on Kubernetes

The Dashboard can be uninstalled by running the following command:
Expand Down