Ensure that Cloud Monitoring is enabled for your Google Kubernetes Engine (GKE) clusters in order to collect metrics emitted by your Kubernetes applications and the GKE infrastructure that runs your applications.
efficiency
optimisation
Cloud Monitoring is a Google Kubernetes Engine (GKE) addon that collects metrics produced by your applications and their GKE infrastructure. Without monitoring, it is difficult to identify and address performance bottlenecks, security threats, and potential failures in your GKE clusters, making it challenging to maintain reliability and troubleshoot effectively. For example, if system metric collection is disabled, basic information such as CPU usage, memory usage, and disk usage is not available for your GKE cluster when viewing observability metrics. Enabling monitoring for GKE clusters provides valuable insights into cluster health, application reliability, and performance. It simplifies troubleshooting, facilitates proactive maintenance, and ensures compliance with industry standards.
Audit
To determine if monitoring is enabled for your Google Kubernetes Engine (GKE) clusters, perform the following operations:
Remediation / Resolution
To enable and configure monitoring for your Google Kubernetes Engine (GKE) clusters, perform the following operations:
References
- Google Cloud Platform (GCP) Documentation
- Observability for GKE
- Configure metrics collection
- GKE system metrics
- GCP Command Line Interface (CLI) Documentation
- gcloud projects list
- gcloud container clusters list
- gcloud container clusters describe
- gcloud container clusters update