gke/WARN/2023_003

Cloud Monitoring API enabled when GKE monitoring is enabled

Product: Google Kubernetes Engine
Rule class: WARN - Something that is possibly wrong

Description

If Cloud Monitoring API is disabled, while GKE monitoring is enabled the monitoring metrics won’t be ingested, and thus, won’t be visible in Cloud Monitoring.

Remediation

Cloud Monitoring API can be enabled in the Cloud Console, or by running the following command:

gcloud services enable monitoring.googleapis.com --project={project-id}

Further information