This example shows how to set up the dashboard[1] using a custom NodePort In the kubernetes[k8s] environment. The k8s dashboard allows you to view and orchestrate container pool status information.
run-dashboard.shThe account that uses the dashboard must have admin privileges on all clusters by default and use the cluster-admin role of the kubernetes role based access control (RBAC).
| kind | Variables |
|---|---|
| ServiceAccount | dashboardadmin |
| ClusterRole | cluster-admin |
| ClusterRoleBinding | kubernetes-dashboard |
| Namespace | kube-system |
| NodePort | 32154 |
| Dashboard URL information | https://domain::32154 |
kubectl describe clusterrolebinding kubernetes-dashboardcheck-access-by-dashboardadmin.shget-dashboard-token.sh[1]. https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/
