Back to home

kubernetes/

kubernetes-dashboard

Version: 0.0.4

Last Updated: Unknown



name: Kubernetes Dashboard

Setting up the dashboard

Note

Heapster is now deprecated.

Steps to take

  1. Create service account and RBAC rules
  2. Deploy dashboard
  3. Deploy metrics Add-Ons
  4. Create cluster admin account and explore dashboard

We need to create:

  1. A service account for the dashboard
  2. Several roles to grant privileges (RBAC) to the dashboard
  3. A role binding to link the service account to the RBAC roles

Apply steps

  1. dashboard-account-rab.yaml
  2. deploy-dashboard.yaml
  3. deploy-influxdb.yaml
  4. deploy-heapster.yaml
  5. deploy-heapster-rbac.yaml
  6. dashboard-service-account.yaml

Viewing the dashboard

kubectl proxy --address='0.0.0.0' --port=8001 --accept-hosts='.*' # http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/login

Fetching the token

kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep eks-admin | awk '{print $1}')

Install


Repository

https://github.com/okeeffed/pkg-kubernetes-kubernetes-dashboard

Sections