Skip to content

Commit

Permalink
[YUNIKORN-2936] Access K8s dashboard by port-forwarding
Browse files Browse the repository at this point in the history
Closes: #493

Signed-off-by: Yu-Lin Chen <[email protected]>
  • Loading branch information
Michael authored and chenyulin0719 committed Oct 20, 2024
1 parent abd0468 commit 057c608
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/developer_guide/env_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ Optionally, after setting up Kubernetes you may wish to deploy the Kubernetes
Dashboard Web UI. The dashboard may be deployed using the following steps:

1. Follow the instructions [here](https://github.com/kubernetes/dashboard) to deploy the dashboard.
2. Start the Kubernetes proxy in the background from a terminal to get access on the dashboard on the local host:
2. Use port-forwarding to access the dashboard on the local host:
```shell script
kubectl proxy &
kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8443:443
```
3. Access the dashboard [here](http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard-kong-proxy:443/proxy/#/login).
3. Access the dashboard [here](https://localhost:8443/#/login).

### Access local Kubernetes cluster

Expand Down
6 changes: 3 additions & 3 deletions versioned_docs/version-1.6.0/developer_guide/env_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ Optionally, after setting up Kubernetes you may wish to deploy the Kubernetes
Dashboard Web UI. The dashboard may be deployed using the following steps:

1. Follow the instructions [here](https://github.com/kubernetes/dashboard) to deploy the dashboard.
2. Start the Kubernetes proxy in the background from a terminal to get access on the dashboard on the local host:
2. Use port-forwarding to access the dashboard on the local host:
```shell script
kubectl proxy &
kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8443:443
```
3. Access the dashboard [here](http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard-kong-proxy:443/proxy/#/login).
3. Access the dashboard [here](https://localhost:8443/#/login).

### Access local Kubernetes cluster

Expand Down

0 comments on commit 057c608

Please sign in to comment.