This article will guide you through setting up Prometheus on a Kubernetes cluster and collect node, pods, and services metrics automatically using Kubernetes service discovery configurations.
Explaining Prometheus is out of the scope of this article. If you want to know more about Prometheus, You can watch all the Prometheus-related videos from here.
If you would like to install Prometheus on a Linux VM, please see the Prometheus on Linux guide.
Prometheus Monitoring Setup on Kubernetes
I assume that you have a kubernetes cluster up and running with kubectl setup on your workstation.
Latest Prometheus is available as a docker image in its official docker hub account. We will use that image…