Overview of the Google Cloud operations suite for GKE

Google Kubernetes Engine (GKE) includes native integration with Cloud Monitoring and Cloud Logging. When you create a GKE cluster, Kubernetes Engine Monitoring is enabled by default and provides a monitoring dashboard specifically tailored for Kubernetes.

With Kubernetes Engine Monitoring, you can control whether or not Cloud Logging collects application logs. You also have the option to disable the Cloud Monitoring and Cloud Logging integration altogether. For more information on the installation instructions, see Installing Monitoring and Logging support for GKE.

About Kubernetes Engine Monitoring

Kubernetes Engine Monitoring is designed to monitor GKE clusters. It manages Monitoring and Logging services together and features a Kubernetes Engine Monitoring interface that provides a dashboard customized for GKE clusters:

  • In the summary pane, 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 using the Logs Viewer.

Which monitoring and logging option should I use?

You can use the default Kubernetes Engine Monitoring or opt-in to use Legacy Stackdriver. Both options are generally available as of GKE version 1.12.7. Here are some issues to consider:

  • Kubernetes Engine Monitoring is the default option, starting with GKE version 1.14.

  • Legacy Stackdriver is also a generally available option; however, it lacks features and improvements present in Kubernetes Engine Monitoring.

  • Only Legacy Stackdriver lets you disable Cloud Logging while still using Cloud Monitoring.

Selecting your the Google Cloud operations suite support for GKE

If you are using Legacy Stackdriver, then you must switch to Kubernetes Engine Monitoring before support for Legacy Stackdriver is removed. Legacy Stackdriver will no longer be supported as of GKE 1.15. The table below details compatibility across GKE versions:

GKE version Legacy Stackdriver Kubernetes Engine Monitoring
1.10 – 1.12.5 Default Opt-in (Beta)
1.12.7 Default Optional
1.13 Default Optional
1.14 Optional Default
1.15 Not Available Default

Pricing

Kubernetes Engine Monitoring is priced based on the amount of logs and metrics collected. See the Pricing page for details.

Kubernetes Engine Monitoring how-to guides

  • Installing Kubernetes Engine Monitoring: Describes how to enable Kubernetes Engine Monitoring in new and existing clusters.

  • Migrating to Kubernetes Engine Monitoring: Describes the differences between Legacy Stackdriver and Kubernetes Engine Monitoring and what you must change in your the Google Cloud operations suite configurations as part of updating your monitoring and logging integration.

  • Observing your system: Describes the Kubernetes Engine Monitoring dashboard interface, how to organize cluster information, and how to view alerting details.

  • Enabling auditd logs: Describes how to enable verbose, OS-level audit logging on GKE cluster nodes and how to export logs to Cloud Logging.

  • Using Prometheus: Optional. Describes how to configure Kubernetes Engine Monitoring for Prometheus.

Legacy Stackdriver how-to guides

  • Legacy Cloud Monitoring: Describes how to set up the legacy solution of Cloud Monitoring for your GKE clusters.

  • Legacy Cloud Logging: Describes how to set up the legacy solution of Cloud Logging for your GKE clusters.