Kubernetes is the first project to graduate from the CNCF and is currently the de facto standard for container orchestration. Early on, Heapster was widely used as a monitoring solution that came out-of-the-box with Kubernetes. It started out as a tool to send monitoring data to external systems but then grew to become a monitoring system itself. However, it didn't take long for Prometheus to become the de facto standard monitoring system for Kubernetes clusters. Nowadays, most of the components that make up a Kubernetes cluster have native Prometheus instrumentation.
In the following sections, we'll go into how to integrate Prometheus in a Kubernetes environment by employing examples based on the Kubernetes project and the Prometheus Operator project.