gke-observability

Configure GKE cluster observability with Cloud Logging, Monitoring, and managed Prometheus.

17.1k|1.4k|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/google/skills --skill gke-observability-google
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gke-observability
Source: https://github.com/google/skills/tree/main/skills/cloud/gke-observability
Command: npx skills add https://github.com/google/skills --skill gke-observability-google

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gcloud, and includes scripts (resource) components.

What problem does it solve?

This Skill helps you configure and manage observability for your GKE clusters, ensuring comprehensive monitoring and logging for your applications.

Core Features & Use Cases

  • Cloud Logging and Monitoring: Integrate with Cloud Logging and Cloud Monitoring to gain insights into your GKE clusters.
  • Managed Prometheus: Utilize Google-managed Prometheus for advanced metrics collection.
  • Golden Path Observability: Set up comprehensive observability including control-plane metrics with a single command.
  • Use Case: Use this Skill to enable full monitoring for a GKE cluster, configure managed Prometheus, and set up Dataplane V2 observability metrics.

Quick Start

Configure full observability for your GKE cluster with the command: gcloud container clusters update <CLUSTER_NAME> --region <REGION> --monitoring=SYSTEM,API_SERVER,SCHEDULER,CONTROLLER_MANAGER,STORAGE,POD,DEPLOYMENT,STATEFULSET,DAEMONSET,HPA,CADVISOR,KUBELET,DCGM --enable-managed-prometheus --enable-dataplane-v2-flow-observability --quiet

Frequently Asked Questions about gke-observability

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enable Cloud Monitoring and Cloud Logging for a GKE cluster?

To enable Cloud Monitoring and Cloud Logging for a GKE cluster, you can update the cluster using gcloud to include specific monitoring components and enable managed Prometheus for comprehensive metrics collection.

What is the golden path for setting up GKE observability?

The golden path for GKE observability sets up comprehensive monitoring including control-plane metrics, system metrics, and managed Prometheus in a single command to gain full insights into your Kubernetes environment.

How do I configure managed Prometheus on Google Kubernetes Engine?

You can configure managed Prometheus on Google Kubernetes Engine by updating your cluster settings with gcloud to enable Google-managed Prometheus for advanced metrics collection and Dataplane V2 observability.

Can I enable Dataplane V2 observability metrics with gcloud?

Yes, you can enable Dataplane V2 observability metrics by updating your GKE cluster with the gcloud command line tool, specifically passing the flag to enable dataplane V2 flow observability.

What control-plane metrics are available for GKE cluster observability?

Available GKE control-plane metrics for observability include API_SERVER, SCHEDULER, and CONTROLLER_MANAGER, which can be enabled alongside system and workload metrics using gcloud cluster update commands.

Do I need gcloud to set up monitoring and logging in GKE?

Yes, you need the gcloud command-line tool to automate the configuration of GKE cluster observability, as it executes the commands to enable Cloud Logging, Cloud Monitoring, and managed Prometheus.