Skip to content
Development
Skill

/gke-observability

Configures GKE observability, including Cloud Logging, Cloud Monitoring, and managed Prometheus. Use when configuring GKE monitoring, setting up GKE logging, or configuring Prometheus metrics collection, to diagnose GKE control plane, API server, admission webhook, etcd storage,

From plugin
skills
22k178 skills1 MCP

Claude Code

$ npx -y skills add google/skills --skill gke-observability --agent claude-code

SKILL.md

gke-observability.SKILL.md
name: gke-observability
description: >-
  Configures GKE observability, including Cloud Logging, Cloud Monitoring, and
  managed Prometheus. Use when configuring GKE monitoring, setting up GKE
  logging, or configuring Prometheus metrics collection, to diagnose GKE control
  plane, API server, admission webhook, etcd storage, node registration or
  label, and pod eviction, preemption, or scheduling issues using GKE metrics,
  Kubernetes events, and Cloud Logging, and to troubleshoot Managed Service for
  Prometheus (GMP) issues such as missing metrics, unhealthy scrape targets,
  PodMonitoring misconfiguration, rule/alert evaluation failures, and monitoring
  permission errors. Don't use to configure local application logging frameworks
  or external APMs outside GKE.
metadata:
  version: "1.2.1"
  category: CloudObservabilityAndMonitoring

GKE Observability

This reference covers monitoring, logging, and metrics configuration and troubleshooting for Google Kubernetes Engine (GKE). The golden path enables comprehensive observability including control-plane metrics and Managed Service for Prometheus (GMP).

> **MCP Tools:** `get_cluster`, `list_k8s_events`, `get_k8s_logs`, > `get_k8s_cluster_info`, `describe_k8s_resource`. **CLI-only:** `gcloud > container clusters update --monitoring=...`, `gcloud logging read`

Usage Attribution

Do not run live `kubectl`, `gcloud`, or `curl` commands unless the user names a target cluster/project or asks to inspect a live cluster (output commands and queries with placeholders, and skip [Usage Attribution](references/attribution.md)). Before running any live command, read [Usage Attribution](references/attribution.md), prefix `gcloud` with `CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:gke-observability)"`, and append `agent-skills/1.0 (skill:gke-observability)` to `User-Agent` headers (never in generated scripts, Terraform, or user-facing code).

Sub-Skill Reference Routing (Progressive Disclosure)

> **Complete Reference Index** (no `scripts/` directory or unlisted reference > files exist — do not run `ls` on the skill folder; read only the matching > reference below when answering deep diagnostic, metric, log, or GMP questions):

1. **[Control-Plane Metrics, Storage, Webhooks & Capacity](references/control-plane-metrics-and-storage.md)**: Read for GKE control-plane (KCP) VM CPU or RAM/memory usage questions (not publicly exposed) and customer-visible alternatives; cluster etcd / etcd-compatible storage left, quota & per-resource scalability limits; admission webhook latency, system namespace/Lease/upgrade exclusions, `APIService` discovery bloat, client discovery caching bursts (`/apis/custom.metrics.k8s.io`, `/apis/metrics.k8s.io`) & proactive GKE Recommender insights; watch storms; controller-manager workqueue & scheduler lag; or control-plane headroom, VM autoscaling & node-count pre-scaling, network egress, connections (`65k`, no per-replica metric) & Protobuf. 2. **[Cloud Logging, Audit Attribution, APF & API Server Traces](references/logging-audit-and-apiserver-traces.md)**: Read for `kube-apiserver` slow-request `Trace[` logs (`trace.go` & KEP-647); `httplog.go` client load (`user_agent`, `verb`, `apf_iseats`); Cloud Audit Log noisy-neighbor, heavy `LIST` & unindexed CRD `fieldSelector` scan tail-latency attribution; API Priority and Fairness (APF) `429`/`504`/`404` throttling; `409 Conflict` hot objects (`ConfigMap` -> `Lease` heartbeats) & `RenewDeadline / 2` leader-election timeouts; `pods/exec` saturation, Konnectivity (`No agent available`), disabled Cloud KMS keys, or in-cluster GCP IAM OAuth token webhook authorizer saturation. 3. **[Cluster/Node/Pod Health, Maintenance & Managed Prometheus (GMP)](references/cluster-node-pod-health-and-gmp.md)**: Read for control-plane availability (`kubernetes.io/cluster/kcp_healthchecks` rate ratio & ruling out KCP outages); maintenance windows (`in_maintenance_window`), zonal resize downtime & cluster access errors (`EOF` / `masterAuthorizedNetworksConfig`); node readiness, registration (`AUTO_REPAIR_NODES`, Private Google Access) & persistent node-pool labels; pod startup timelines, crashing pod logs, `tolerationSeconds: 0` mass eviction & Autopilot preemption; or multi-burn-rate SLO alerting (`GlobalRules`) & GMP / Grafana / `PodMonitoring` manifests & troubleshooting.

Golden Path Observability Defaults

Setting | Golden Path Value | Notes --------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | ----- `loggingConfig` components | SYSTEM_COMPONENTS, WORKLOADS | Full workload logging `monitoringConfig` components | SYSTEM_COMPONENTS, STORAGE, POD, DEPLOYMENT, STATEFULSET, DAEMONSET, HPA, JOBSET, CADVISOR, KUBELET, DCGM, APISERVER, SCHEDULER, CONTROLLER_MANAGER | Full suite including control-plane `managedPrometheusConfig.enabled` | `true` | Google-managed Prometheus `advancedDatapathObservabilityConfig.enableMetrics` | `true` | Dataplane V2 flow metrics `loggingService` | `logging.googleapis.com/kubernetes`

Read more
@google
Ships withskills

This repository contains Agent Skills for Google products and technologies, including Google Cloud.

22k178 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
21.7k
Star history of google/skills on GitHub, a chart by star-history.com

Other skills on skills.

finding-google-skills

finding-google-skills

Google platform decision and setup guidance, loaded on demand from Google's skill catalog. Use when a developer is choosing or…

@google@googleInstall Skill
gcloud

gcloud

Provides safety-critical validation, guardrails, and data reduction for gcloud CLI operations across Google Cloud Platform (GCP)…

@google@googleInstall Skill
google-cloud-recipe-auth

google-cloud-recipe-au…

Provides expert guidance on Identity and Access Management (IAM) and authenticating and authorizing to Google Cloud services and…

@google@googleInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills12d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react3d252k
@facebook@facebookInstall Skill

Questions about gke-observability.

Which coding agents can use gke-observability?
gke-observability installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.