google-cloud-platformgoogle-kubernetes-engineprometheusgoogle-managed-prometheus

How to disable google managed prom?


I enabled managed service for prom in GCP console

It installed bunch of agents with gmp-system namespace on my gke cluster

how do I uninstall it?

i tried kubectl delete all --all -n gmp-system

but it just respawns


Solution

  • Since it's a managed add-on, you need to disable it via gcloud:

    gcloud container clusters update --disable-managed-prometheus ${CLUSTER_NAME}