Kind k8s cluster + Metrics Server

Some time ago I wanted to quickly spawn a local Kubernetes cluster to test something while I was practicing for CKA exam. I decided to give Kind a go - It’s a tool that allows you to run k8s cluster using a regular container runtime (such as docker or podman). Everything was kind of smooth experience until I needed to run kubectl top pods. I wasn’t able to successfully execute it, as to get any information about pods (and nodes) resource usage in a cluster, I had to install Metrics Server. And that’s the moment were an issue appeared… ...

February 27, 2024