The Kubernetes dashboard is a web-based user interface for Kubernetes clusters. It enables users to manage and troubleshoot applications running in the cluster, as well as manage the cluster itself.
How to Deploy the Kubernetes Dashboard ?
To deploy a kubernetes dashboard, follow the below steps:
Run the following command to pull the helm chart.
Run the following command to install the helm chart.
Run the following command to check the pod status.
Open the firefox browser and paste the kubernetes dashboard url shown below.
Example: https://172.25.251.94:30100/#/The kubernetes dashboard page will now appear. Select the token checkbox and proceed to step 6 to generate the token.
To generate the token, follow the steps below:
- For kubernetes v1.24 and higher versions run the following command.
- For kubernetes v1.23 and below versions, follow the below two steps:
First, run the following command to get the secret key.
Now, run the following command to to get the login token.
Example:
kubectl get secret kubernetes-dashboard-token-4sqdp -o jsonpath={.data.token} | base64 -d
Enter the token and click Sign in.
Finally, you will see the kubernetes dashboard screen shown below.