Google Kubernetes Engine (GKE) includes integration with Cloud Logging and Cloud Monitoring, including Google Cloud Managed Service for Prometheus.
When you create a GKE cluster running on Google Cloud, Cloud Logging and Cloud Monitoring are enabled by default and provide observability specifically tailored for Kubernetes.
You can control which logs and which metrics, if any, are sent from your GKE cluster to Cloud Logging and Cloud Monitoring. You can also control whether to enable Google Cloud Managed Service for Prometheus, which lets you monitor and alert on your workloads, using Prometheus, without having to manually manage and operate Prometheus at scale. See Configuring Cloud Operations for GKE for installation and configuration instructions.
About Cloud Operations for GKE
Cloud Operations for GKE is designed to monitor GKE clusters. It manages Monitoring and Logging services together and features a Cloud Operations for GKE dashboard that provides a customized interface for GKE clusters:
You can view a cluster's key metrics, such as CPU utilization, memory utilization, and the number of open incidents.
You can view clusters by their infrastructure, workloads, or services.
You can inspect namespaces, nodes, workloads, services, pods, and containers.
For pods and containers, you can view metrics as a function of time and view log entries.
Cloud Operations for GKE is priced based on the amount of logs and metrics collected. See the Pricing page for details.
Cloud Operations for GKE how-to guides
Configuring Cloud Operations for GKE: Describes how to enable Cloud Operations for GKE in new and existing clusters.
Observing your system: Describes the Cloud Operations for GKE dashboard interface, how to organize cluster information, and how to view alerting details.
auditdlogs: Describes how to enable verbose, OS-level audit logging on GKE cluster nodes and how to export logs to Cloud Logging.