'how to get metrics on my k8s api/master nodes

I am using minikube to learn more about kubernetes and was wondering how i could build something that would track the metrics of my master/api nodes. Do I need to build an application that tracks it through prometheus?

I have setup minikube to use the docker driver so is this something I would do in a Dockerfile?

Any direction you can give would be great



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source