Please visit this page for more details about Kubernetes Web UI (Dashboard):
https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/
-
Deploying the Dashboard UI:
Add kubernetes-dashboard repository:
Deploy a Helm Release named "kubernetes-dashboard" using the kubernetes-dashboard chart:
Check the Dashboard Service:
Check the Dashboard Deployment:
Check the Dashboard Pods:
-
Accessing the Dashboard UI:
To access the Web UI (Dashboard), open your favorite browser and copy paste the URL:
https://localhost:8443

-
Generate a Bearer Token for a Service Account:
Create a service account:
Create a service account using the yaml file:
Create a cluster role binding:
Create a cluster role binding using the yaml file:
Generate a Bearer Token:

-
Accessing the Dashboard UI remotely:
Forward the port 8443 from Windows into your Linux WSL distro.
The portproxy server listens for messages sent to a specific port and IPv4 address and maps a port and IPv4 address to send the messages received after establishing a separate TCP connection.
-
listenaddress: Specifies the IPv4 address for which to listen ("0.0.0.0" any IPv4 address).
-
listenport: Specifies the IPv4 port on which to listen ("8443", you can choose any port you want).
-
connectaddress: Specifies the IPv4 address to which to connect ("172.26.110.211", this should be the address of your Linux WSL distro).
-
connectport: Specifies the IPv4 port to which to connect ("8443", must match the port you set for your sshd on your Linux WSL distro).
To check the Port:
Start kubectl proxy command:
To delete the IPv4 port and address from the list of IPv4 ports and addresses for which the server listens.: