ryankert01 commented on code in PR #492:
URL: https://github.com/apache/yunikorn-site/pull/492#discussion_r1806482679


##########
docs/developer_guide/env_setup.md:
##########
@@ -75,23 +75,16 @@ Dashboard Web UI. The dashboard may be deployed using the 
following steps:
 ### Access local Kubernetes cluster
 
 The dashboard as deployed in the previous step requires a token or config to
-sign in. Here we use the token to sign in. The token is generated
-automatically and can be retrieved from the system.
+sign in. Here we use the token to sign in.
 
-1. Retrieve the name of the dashboard token:
-    ```shell script
-    kubectl -n kube-system get secret | grep kubernetes-dashboard-token
-    ```
-2. Retrieve the content of the token. Note that the token name ends with a 
random
-   5 character code and needs to be replaced with the result of step 1. As an
-   example:
-    ```shell script
-    kubectl -n kube-system describe secret kubernetes-dashboard-token-tf6n8
-    ```
-3. Copy the token value which is part of the `Data` section with the tag 
`token`.
-4. Select the **Token** option in the dashboard web UI:<br/>
+1. Generate default user token:
+   ```shell script
+   kubectl -n kubernetes-dashboard create token default
+   ```
+2. Copy the token.
+3. Select the **Token** option in the dashboard web UI:<br/>
     ![Token Access in dashboard](./../assets/dashboard_token_select.png)

Review Comment:
   Nevermind, just delete `3.`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to