Docker & Kubernates
Open PowerShell (Admin) and run following commands:
Install Chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))choco install kubernetes-cli kubernetes-helm -yDocker for Desktop
choco install docker-desktop -yUse default installation with Linux Containers
Enable Kubernetes in Docker settings on the Kubernetes tab
Make sure that Kubernetes context of Docker is set to docker-for-desktop
kubectl config use-context docker-for-desktopKubernetes dashboard
Open PowerShell (Admin) and run following commands:
kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yamlkubectl proxyOpen PowerShell (Admin) and run following commands:
kubectl create serviceaccount dashboard -n defaultkubectl create clusterrolebinding dashboard-admin -n default --clusterrole=cluster-admin --serviceaccount=default:dashboardSave the token from PowerShell and navigate to Kubernetes dashboard
Select token option, paste the token from PowerShell and Sign In (If lost token can be retrieved simply by using get secret command again)
Last updated
Was this helpful?