Skip to content
Open console

Dashboard Access

The Kubernetes Dashboard is a web-based UI for managing and monitoring your cluster.

kubectl --kubeconfig /path/to/kube.conf proxy

This starts a local server at http://localhost:8001.

http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/

Since Kubernetes v1.24, tokens are not auto-generated. Create one:

apiVersion: v1
kind: Secret
type: kubernetes.io/service-account-token
metadata:
name: kubernetes-dashboard-token
namespace: kubernetes-dashboard
annotations:
kubernetes.io/service-account.name: kubernetes-dashboard-admin-user

Apply it:

kubectl --kubeconfig /path/to/kube.conf apply -f token.yaml
kubectl --kubeconfig /path/to/kube.conf describe secret \
$(kubectl --kubeconfig /path/to/kube.conf get secrets -n kubernetes-dashboard \
| grep kubernetes-dashboard-token | awk '{print $1}') \
-n kubernetes-dashboard

For more details, see the official Kubernetes Dashboard documentation.

See also: Create Cluster, kubectl Access

Ask the ZCP docs

Type a question and pick an assistant. The assistant opens in a new tab and reads this page and the full ZCP documentation, so its answer comes from our docs.

Example questions

Ask with

Your question goes to the assistant you pick, under its own terms.