This is an automated email from the ASF dual-hosted git repository.

chenyulin0719 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 057c608698 [YUNIKORN-2936] Access K8s dashboard by port-forwarding
057c608698 is described below

commit 057c60869854cf0d07ac601f9091160bfe8ff448
Author: Michael <[email protected]>
AuthorDate: Sun Oct 20 17:22:11 2024 +0800

    [YUNIKORN-2936] Access K8s dashboard by port-forwarding
    
    Closes: #493
    
    Signed-off-by: Yu-Lin Chen <[email protected]>
---
 docs/developer_guide/env_setup.md                         | 6 +++---
 versioned_docs/version-1.6.0/developer_guide/env_setup.md | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/developer_guide/env_setup.md 
b/docs/developer_guide/env_setup.md
index ee5b4df8c5..5de8bbe213 100644
--- a/docs/developer_guide/env_setup.md
+++ b/docs/developer_guide/env_setup.md
@@ -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
 
diff --git a/versioned_docs/version-1.6.0/developer_guide/env_setup.md 
b/versioned_docs/version-1.6.0/developer_guide/env_setup.md
index ee5b4df8c5..5de8bbe213 100644
--- a/versioned_docs/version-1.6.0/developer_guide/env_setup.md
+++ b/versioned_docs/version-1.6.0/developer_guide/env_setup.md
@@ -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
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to