From 1d4fe81ccb23dc9699b01a7c84184b24ee7a50fa Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Wed, 13 Oct 2021 09:43:53 +0700 Subject: [PATCH] Updated the readme --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index f86feac..d461cf3 100644 --- a/README.md +++ b/README.md @@ -197,6 +197,18 @@ kubectl apply -f https://docs.projectcalico.org/manifests/calico.yaml ```shell kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.3.1/aio/deploy/recommended.yaml ``` +- Proxy for kubernetes dashboard +```shell +kubectl proxy --namespace kubernetes-dashboard service/kubernetes-dashboard +``` + +- Access the proxy +http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#/login + +- Get Token from service account "admin-user" +```shell +kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep admin-user | awk '{print $1}') +``` #### Deploy Storage Class with External NFS server - Install nfs client for all nodes