Prometheus to monitor multiple GKE clusters and projects

5/16/2019

I currently have two GKE projects, in the future there will be more projects. In one of the projects I have my app cluster (vpc) and a new Prometheus cluster, on which I installed Prometheus server via click to deploy (marketplace).

The goal is to monitor all clusters, across all different GKE projects in this one Prometheus cluster I have running. I also want to monitor my on-prem CoreOS hosts in this Prometheus cluster.

As far as I can tell there are two options: 1. Install Prometheus operator in all clusters, although I’m not sure if this’ll work across multiple projects or the on-prem coreos hosts.

  1. Use Prometheus Federation within every cluster

I’m new to Prometheus and have only been working with gke for a few months so any help here is very much appreciated.

-- spacewalk92
google-kubernetes-engine
prometheus
prometheus-operator

0 Answers