Enable Kubernetes
From Docker Preferences, enable Kubernetes.
Check to see if it is running by issuing the following command:
> kubectl get nodes
NAME STATUS ROLES AGE VERSION docker-for-desktop Ready master 5h v1.10.3
Install the Dashboard
> kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/aio/deploy/recommended/kubernetes-dashboard.yaml
Verify that it is installed:
> kubectl get pods --all-namespaces -o wide
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE docker compose-74649b4db6-zpb5t 1/1 Running 0 5h 10.1.0.3 docker-for-desktop docker compose-api-8477889868-jfzph 1/1 Running 0 5h 192.168.65.3 docker-for-desktop kube-system etcd-docker-for-desktop 1/1 Running 0 5h 192.168.65.3 docker-for-desktop kube-system kube-apiserver-docker-for-desktop 1/1 Running 0 5h 192.168.65.3 docker-for-desktop kube-system kube-controller-manager-docker-for-desktop 1/1 Running 0 5h 192.168.65.3 docker-for-desktop kube-system kube-dns-86f4d74b45-txr8w 3/3 Running 0 5h 10.1.0.2 docker-for-desktop kube-system kube-proxy-q5vrd 1/1 Running 0 5h 192.168.65.3 docker-for-desktop kube-system kube-scheduler-docker-for-desktop 1/1 Running 0 5h 192.168.65.3 docker-for-desktop kube-system kubernetes-dashboard-669f9bbd46-pxd4x 1/1 Running 0 50s 10.1.0.4 docker-for-desktop
Start the proxy
> kubectl proxy
Starting to serve on 127.0.0.1:8001
Open your browser
Navigate to: