docs:virtualizacion:docker:kubernetes_dashboard

¡Esta es una revisión vieja del documento!


Kubernetes dashboard

Installation:

$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-dashboard.yaml

Validate:

$ kubectl -n kube-system get po | grep dashboard
kubernetes-dashboard-7d5dcdb6d9-zxpqr                   1/1       Running   0          24s

Get secrets to login (web basic user/password):

$ kops get secrets kube --type secret -oplaintext
Using cluster from kubectl context: myfirstcluster.k8s.local

aU2nDUu5wiHZLGsbO2ARycV3XQq3OkcI

Get master hostname:

$ kubectl cluster-info

Access web:

https://<kubernetes-master-hostname>/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/login

Select Token to access:

$ kops get secrets admin --type secret -oplaintext
Using cluster from kubectl context: myfirstcluster.k8s.local

fxHzDdOsAHnWJSSLQ0fjV8aWRrhm345W

  • docs/virtualizacion/docker/kubernetes_dashboard.1555716523.txt.gz
  • Última modificación: 2019/04/19 23:28
  • por rodolfo