Categories
Docker Kubernetes

Kubernetes Metrics Server on Docker Desktop

After setting up Docker Desktop and Kubernetes on WSL, I noticed that I was unable to gather cluster node CPU and memory information using kubectl top node. A quick look at the Kubernetes documentation indicated that I needed to install the Metrics Server. However, most current articles addressing how to install the Kubernetes Metrics Server for Docker Desktop are a bit out of date.

Here are the steps I followed to get the latest release of the Kubernetes Metrics Server running with the Docker Desktop Kubernetes release.