gke/WARN/2022_004

Cloud Logging API enabled when GKE logging is enabled

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

Description

If Cloud Logging API is disabled, while GKE logging is enabled the Workload and Node logs won’t be ingested, and thus, won’t be visible in Logs Explorer.

Remediation

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

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

Further information