K8S Dashboard on Rancher Desktop

Rancher desktop logo
$> DASHBOARD_GITHUB_URL=https://github.com/kubernetes/dashboard/releases
$> VERSION_KUBE_DASHBOARD=$(curl -w '%{url_effective}' -I -L -s -S ${DASHBOARD_GITHUB_URL}/latest -o /dev/null | sed -e 's|.*/||')
$> kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/${VERSION_KUBE_DASHBOARD}/aio/deploy/recommended.yaml
$> kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.3.1/aio/deploy/recommended.yaml
$> kubectl apply -f dashboard.admin-user.yaml -f dashboard.admin-user-role.yaml
$> kubectl -n kubernetes-dashboard describe secret admin-user-token | grep '^token'
$> kubectl proxy



Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store