The source of this information is here. And here you can find the information about access tokens for Kubernetes dashboard.
Check if you are still able to connect to Kubernetes dashboard in the following ways:
kubectl proxy:
Check if your kubectl is properly configured and has access to the cluster.
`$ kubectl cluster-info
Kubernetes master is running at ...
...`
Start local proxy server:
$ kubectl proxy
Use the following address to access dashboard:
http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
API Server:
If you are able to communicate with the cluster apiserver right from your workstation, you can access the dashboard by following this link:
https://<master-ip>:<apiserver-port>/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
The apiserver port is 6443 by default.
Ingress:
You can expose a dashboard port using an Ingress resource.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
ingress.kubernetes.io/ssl-passthrough: "true"
nginx.ingress.kubernetes.io/secure-backends: "true"
nginx.org/ssl-backends: "kubernetes-dashboard"
kubernetes.io/ingress.allow-http: "false"
name: dashboard-ingress
namespace: kube-system
spec:
tls:
- hosts:
- server-dns-name
secretName: kubernetes-dashboard-certs
rules:
- host: server-dns-name
http:
paths:
- path: /dashboard
backend:
serviceName: kubernetes-dashboard
servicePort: 443