Lack of info about a new flag (--no-enable-managed-prometheus) for disabling a default enabled Prometheus

287 Views Asked by At

As you can see in the attached picture, we received an email from [tag:The Google Kubernetes Engine Team] that there will be a new flag for disabling default Prometheus in cluster

after March 15, 2023, all newly created Google Kubernetes Engine standard clusters will have Managed Service for Prometheus in-cluster components deployed by default. To deploy clusters without Managed Service for Prometheus, it can disable it on new GKE standard clusters by adding the flag --no-enable-managed-prometheus when creating a new GKE standard cluster, e.g. gcloud container clusters create --no-enable-managed-prometheus

I searched in the release note page but I could not find it, I would like to know is it an upcoming feature or a released feature? If it is an existing feature, where can I find some documentation about it?

Is there anybody have more info about this email? email from The Google Kubernetes Engine Team

1

There are 1 best solutions below

6
Gari Singh On

Google Managed Prometheus (GMP) has been available for GKE for a while now. Currently, you need to enable GMP on your GKE standard clusters (it is enabled by default on Autopilot clusters). You can enable it via the UI, CLI, Terrform, etc. Via the CLI, you would use the --enable-managed-prometheus flag to enable it. If you want to disable it later, you can use the --no-enable-managed-prometheus.

The note you got is saying that effective on Mar 15, GMP will be automatically enabled by default on new clusters so you'll now need to disable it if you don't want to use it. We should be publishing a release note around March 15 as well.