Docker Desktop
Connect Infra App to your local Kubernetes cluster in Docker Desktop
Last updated
Connect Infra App to your local Kubernetes cluster in Docker Desktop
Last updated
Install Docker Desktop
Access Docker Desktop preferences by click on the Docker Desktop menu bar icon and then Preferences...
Navigate to Kubernetes in the sidebar, then click Enable Kubernetes. Finally click Apply & Restart
Infra App will automatically work with Docker Desktop. Simply open it by clicking on the Cluster Switcher and then choosing docker-desktop:
Voila! Infra App is now connected to Docker Desktop's Kubernetes cluster:
Metrics server isn't included with Docker Desktop's installation of Kubernetes, and the default metrics-server setup guide won't work out of the box. Follow the steps below to install metrics server:
Download the latest components.yaml
file from https://github.com/kubernetes-sigs/metrics-server/releases and open it in your text editor.
Then, add the line --kubelet-insecure-tls
under the args:
section:
Warning: This setting should only be used for the local Docker Desktop Kubernetes cluster, and not recommended for any hosted or production clusters.
Last, apply the modified components.yaml
config file to your cluster.