helm install kubernetes-dashboard/kubernetes-dashboard --name my-release

From wikieduonline
Revision as of 15:20, 7 December 2022 by Ant (talk | contribs) (→‎Related)
Jump to navigation Jump to search

helm install my-release kubernetes-dashboard/kubernetes-dashboard
NAME: my-release
LAST DEPLOYED: Mon May 23 01:48:54 2022
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
*********************************************************************************
*** PLEASE BE PATIENT: kubernetes-dashboard may take a few minutes to install ***
*********************************************************************************

Get the Kubernetes Dashboard URL by running:
  export POD_NAME=$(kubectl get pods -n default -l "app.kubernetes.io/name=kubernetes-dashboard,app.kubernetes.io/instance=MY-RELEASE" -o jsonpath="{.items[0].metadata.name}") 
  echo https://127.0.0.1:8443/
  kubectl -n default port-forward $POD_NAME 8443:8443


To obtain token use:

  • kubectl get secret mykubedashboard-kubernetes-dashboard-token-8wfsh -o jsonpath="{.data.token}" | base64 --decode; echo

Related

See also

Advertising: