Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 686 Bytes

docker-kubernetes-setup.md

File metadata and controls

28 lines (18 loc) · 686 Bytes

Configuring Docker Kubernetes

Enable kubernetes

Start docker desktop Click through and enable kubernetes and run the cluster

Once it is enabled and running the current context should be docker-desktop

if it isn't set to docker-desktop run

kubectl config use-context docker-desktop

It is nice to have a dashboard for kubernetes, so to enable it run

kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/master/aio/deploy/recommended/kubernetes-dashboard.yaml

Then run a proxy so that you can see it

kubectl proxy

url should be http://localhost:8001/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy