gke-observability
Configures GKE observability, including Cloud Logging, Cloud Monitoring, and managed Prometheus.
Skill by googleOfficial
Chalk Labs
Need help deploying gke-observability?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/google-gke-observability
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/gke-observability
What's inside
- Skill 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, 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.
- License
- Apache-2.0
- Metadata
- version: 1.1.5 · category: CloudObservabilityAndMonitoring
- Instructions
- 434 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- attribution.md · references/
SKILL.md (first lines)
# 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 & proactive GKE Recommender insights; watch
storms; controller-manager workqueue & scheduler lag; or control-plane
headroom, VM autoscaling & node-count pre-scaling, per-replica egress
(`200 MB/s`), 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` attribution; API Priority and Fairness
(APF) `429`/`504`/`404` throttling; `409 Conflict` hot objects &
`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` | Cloud Logging
`monitoringService` | `monitoring.googleapis.com/kubernetes` | Cloud Monitoring
## Enabling Full Monitoring & Logging
Include all four caveats whenever providing a `--monitoring` or `--logging`
command so users avoid accidental metric loss, surprise billing, or silent IAM
failures:
1. **Control-plane metrics and logs are NOT enabled by default.** State this
outright: `API_SERVER`, `SCHEDULER`, and `CONTROLLER_MANAGER` are off on
every new cluster (as are `DCGM`, `CADVISOR`, `KUBELET`, and kube-state
`POD`, `DEPLOYMENT`, `STATEFULSET`, `DAEMONSET`, `HPA`, `STORAGE`,
`JOBSET`). Only `SYSTEM` is enabled by default. Link to
https://docs.cloud.google.com/kubernetes-engine/docs/how-to/control-plane-metrics
and
https://docs.cloud.google.com/kubernetes-engine/docs/how-to/view-logs#control_plane_logs.
2. **The flag replaces, it does not append.** Passing `--monitoring` or
`--logging` overrides the existing component list; pass the full desired
list including `SYSTEM`.
3. **Control-plane and kube-state metrics bill per sample ingested** via
Managed Service for Prometheus (GMP). Mention the cost impact on large
clusters; use `--monitoring=SYSTEM` in non-production to reduce cost.
4. **Verify APIs and IAM permissions (`PermissionDenied`).** Check `gcloud
container clusters describe {cluster_name} --region {region}
--format="yaml(loggingConfig,monitoringConfig)"`, ensure
`logging.googleapis.com` and `monitoring.googleapis.com` are enabled, and
verify the node service account / GKE service agent has
`roles/monitoring.metricWriter` and
`roles/container.defaultNodeServiceAgent`.
> **CLI flag vs. API enum spelling (mixing them fails the command):**
>
> Component | `gcloud --monitoring=` | `monitoringConfig` API enum
> -------------- | ---------------------- | ---------------------------
> System | `SYSTEM` | `SYSTEM_COMPONENTS`
> API server | `API_SERVER` | `APISERVER`
> Controller mgr | `CONTROLLER_MANAGER` | `CONTROLLER_MANAGER`
```bash
# Enable golden path monitoring and control-plane logging suite
gcloud container clusters update {cluster_name} --region {region} \
--monitoring=SYSTEM,API_SERVER,SCHEDULER,CONTROLLER_MANAGER,STORAGE,POD,DEPLOYMENT,STATEFULSET,DAEMONSET,HPA,JOBSET,CADVISOR,KUBELET,DCGM \
--logging=SYSTEM,WORKLOAD,API_SERVER,SCHEDULER,CONTROLLER_MANAGER \
--quiet
# Enable Managed Prometheus and Dataplane V2 flow/policy observability
gcloud container clusters update {cluster_name} --region {region} \
--enable-managed-prometheus \
--enable-dataplane-v2-flow-observability \
--quiet
```
## Core GKE Metrics & Alerting Baseline
Explicitly name **Google Cloud Monitoring** when proposing dashboards and
alerts, and cover cluster/node CPU and memory capacity, pod restartsFrom google/skills, Apache-2.0.
More from google/skills
- 0.865score
google-ads-api-account-diagnostics
google-ads-api-teamOfficial
Diagnoses Google Ads account performance issues such as conversion loss (value or volume), low lead flow/volume, and lost impression share (opportunities) due…
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-triage
Google LLCOfficial
Expert guidance for security alert triage in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-detection-engineering
Google LLCOfficial
Author, validate, test, and deploy YARA-L 2.0 detection rules and evaluate end-to-end detection coverage gaps in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-hunt
Google LLCOfficial
Expert guidance for proactive threat hunting in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-cases
Google LLCOfficial
Manage Google Security Operations (SecOps) SOAR cases throughout their lifecycle.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-investigate
Google LLCOfficial
Expert guidance for deep security incident and entity investigations in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.824score
google-ads-api-quickstart
google-ads-api-teamOfficial
Guides developers through Google Ads API quickstart: credential setup, choosing from 6 client libraries/REST, configuring environments, and running a…
SkillBFreshness: B★ 21.5KClaude Code +9 - 0.819score
google-ads-api-mcp-setup
google-ads-api-teamOfficial
Guides developers through downloading, configuring, and installing the official open-source Google Ads MCP Server.
SkillBFreshness: B★ 21.5KClaude Code +9 - 0.815score
ima-dai-sdk
Google LLCOfficial
Integrates the Google Interactive Media Ads (IMA) Dynamic Ad Insertion (DAI) SDK into websites, web apps, mobile apps, or TV apps.
SkillBFreshness: B★ 21.5KClaude Code +9 - 0.815score
ima-sdk-client-side
Google LLCOfficial
Supports Interactive Media Ads (IMA) SDK.
SkillBFreshness: B★ 21.5KClaude Code +9 - 0.699score
gcloud
googleOfficial
Provides safety-critical validation, guardrails, and data reduction for gcloud CLI operations across Google Cloud Platform (GCP) services and infrastructure.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
agent-platform-deploy
googleOfficial
Deploy open models or custom weights from Model Garden to Agent Platform endpoints, check the status of an in-progress deployment operation, or clean up…
SkillAFreshness: A★ 21.5KClaude Code +9
Signals
- Stars
- 21,542
- Forks
- 1,821
- Open issues
- 21
- Last commit (this folder)
- Oct 23, 2026 (10 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.1.5
- License
- Apache-2.0
- Repository
- github.com/google/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from google
- 0.699score
agent-platform-migrate-from-ai-studio
googleOfficial
Guides agents and users through migrating from Gemini API in Google AI Studio to Gemini Enterprise Agent Platform (formerly Vertex AI).
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
gcloud
googleOfficial
Provides safety-critical validation, guardrails, and data reduction for gcloud CLI operations across Google Cloud Platform (GCP) services and infrastructure.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
google-cloud-recipe-onboarding
googleOfficial
Guides a developer's first steps on Google Cloud, covering account creation, billing setup, project management, and deploying a first resource.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
retrieving-developer-knowledge
googleOfficial
Searches, retrieves, and synthesizes official Google developer documentation across Google Cloud, AI/Gemini, Android, Chrome, Web, Flutter, Go, Firebase, and…
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
data-manager-api-setup
googleOfficial
Guides developers through client library installation and authentication setup steps for the Data Manager API.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
agent-platform-deploy
googleOfficial
Deploy open models or custom weights from Model Garden to Agent Platform endpoints, check the status of an in-progress deployment operation, or clean up…
SkillAFreshness: A★ 21.5KClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get gke-observability running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
gke-observability skill. Agent Mart. https://agentmart.dev/skills/google-gke-observability (last updated 2026-10-24)