Multiple Kubernetes cluster monitoring with Prometheus

submited by
Style Pass
2021-08-04 10:00:09

If you have multiple Kubernetes clusters, there are a few ways to implement monitoring with Prometheus. Generally speaking, when using the Prometheus operator, it will assume it’s running in its current cluster. Now we still have two variations. Because are we talking about “querying data over multiple clusters” or “having the data from multiple clusters in one cluster”? For example, it’s possible to have a Prometheus instance in each cluster and one central Prometheus to gather it all. Or we can scrape all the clusters with one single central Prometheus.

I’m actually a team member of Thanos: https://thanos.io/ - However I don’t have any (financial) gains to be made here. Unlike some other tooling that merely make it to promote their product with weird comparisons. Kuch It starts with a V and ends with ictoria. Kuch. So at some point I show a few options wich includes Thanos. I only do this because I’m familiair with Thanos. There are alternatives such as:

Again, I wrote this blog to give people options and share my knowledge. So, without further ado, let’s start with option 1;

Leave a Comment