Skip to main content

๐Ÿ›ก๏ธ Google GKE Cluster Monitoring is not enabled๐ŸŸข

  • Contextual name: ๐Ÿ›ก๏ธ Cluster Monitoring is not enabled๐ŸŸข
  • ID: /ce/ca/google/gke/cluster-monitoring
  • Tags:
  • Policy Type: COMPLIANCE_POLICY
  • Policy Categories: SECURITY, RELIABILITY

Logicโ€‹

Descriptionโ€‹

Open File

Descriptionโ€‹

This policy ensures that Cloud Monitoring is enabled for all Google Kubernetes Engine (GKE) clusters. Cloud Monitoring collects metrics, events, and metadata from your clusters, providing visibility into cluster performance, uptime, and overall health.

Rationaleโ€‹

Enabling Cloud Monitoring allows you to track resource utilization, troubleshoot issues, and set up alerts for abnormal behavior. Without monitoring, you lack the necessary visibility to diagnose problems, optimize performance, or respond effectively to security incidents.

Auditโ€‹

This policy marks a Google GKE Cluster as INCOMPLIANT if Monitoring Service is not set to monitoring.googleapis.com/kubernetes.

Default Valueโ€‹

Cloud Monitoring is enabled by default starting in GKE version 1.14; Legacy Logging and Monitoring support is enabled by default for earlier versions.

Referencesโ€‹

  1. https://cloud.google.com/stackdriver/docs/solutions/gke/observing
  2. https://cloud.google.com/stackdriver/docs/solutions/gke/managing-logs
  3. https://cloud.google.com/stackdriver/docs/solutions/gke/installing

... see more

Remediationโ€‹

Open File

Remediationโ€‹

To ensure visibility into cluster performance, uptime, and overall health, Cloud Monitoring should be enabled for GKE clusters.

Enable Cloud Monitoring on an Existing Clusterโ€‹

From gcloud CLIโ€‹
```sh
gcloud container clusters update {{cluster-name}} \
--location {{location}} \
--monitoring=SYSTEM,API_SERVER,POD
```

policy.yamlโ€‹

Open File

Linked Framework Sectionsโ€‹

SectionSub SectionsInternal RulesPoliciesFlagsCompliance
๐Ÿ’ผ CIS GKE v1.8.0 โ†’ ๐Ÿ’ผ 5.7.1 Ensure Logging and Cloud Monitoring is Enabled (Automated)2no data
๐Ÿ’ผ Cloudaware Framework โ†’ ๐Ÿ’ผ Logging and Monitoring Configuration65no data
๐Ÿ’ผ PCI DSS v3.2.1 โ†’ ๐Ÿ’ผ 10.1 Implement audit trails to link all access to system components to each individual user.47no data
๐Ÿ’ผ PCI DSS v3.2.1 โ†’ ๐Ÿ’ผ 10.2 Implement automated audit trails for all system components.7628no data
๐Ÿ’ผ PCI DSS v4.0.1 โ†’ ๐Ÿ’ผ 10.2.1 Audit logs are enabled and active for all system components and cardholder data.727no data
๐Ÿ’ผ PCI DSS v4.0 โ†’ ๐Ÿ’ผ 10.2.1 Audit logs are enabled and active for all system components and cardholder data.7127no data