Last active
December 21, 2020 03:48
-
-
Save tlightsky/c2eb381afb1afd012a292315084f4428 to your computer and use it in GitHub Desktop.
k8s dashboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
helm install kubenetes-dashboard kubernetes-dashboard/kubernetes-dashboard --set service.type=NodePort,extraArgs="{--enable-insecure-login=true,--enable-skip-login=true,--disable-settings-authorizer=true}" | |
export NODE_PORT=$(kubectl get -n default -o jsonpath="{.spec.ports[0].nodePort}" services kubenetes-dashboard-kubernetes-dashboard) | |
export NODE_IP=$(kubectl get nodes -o jsonpath="{.items[0].status.addresses[0].address}") | |
echo https://$NODE_IP:$NODE_PORT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment