gke-observability
Fungsinya
Skill ini membantu agent AI mengonfigurasi Cloud Logging, Cloud Monitoring, dan Prometheus terkelola untuk GKE. Cocok untuk tim yang ingin melihat apa yang dilakukan klaster mereka.
Kapan dipakai
- ✓Saat Anda ingin mengatur pemantauan, logging, atau metrik Prometheus GKE.
- ✓Saat pod tidak dijadwalkan atau dikeluarkan dan Anda memerlukan penyebabnya.
- ✓Saat Anda ingin memeriksa masalah control plane, API server, atau registrasi node di GKE.
Link skill
https://github.com/google/skills/blob/main/skills/cloud/gke-observability/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Bagaimana cara mengaktifkan metrik dan log Prometheus untuk klaster GKE saya agar saya bisa melihat apa yang terjadi?”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent membaca metrik GKE, event Kubernetes, dan log, lalu menunjuk referensi yang tepat untuk setiap jenis masalah.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
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).
Before running any live command, read Usage Attribution,
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 runlson the skill folder; read only the matching reference below when answering deep diagnostic, metric, log, or GMP questions):
- Control-Plane Metrics, Storage, Webhooks & Capacity:
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,
APIServicediscovery 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. - Cloud Logging, Audit Attribution, APF & API Server Traces:
Read for
kube-apiserverslow-requestTrace[logs (trace.go& KEP-647);httplog.goclient load (user_agent,verb,apf_iseats); Cloud Audit Log noisy-neighbor & heavyLISTattribution; API Priority and Fairness (APF)429/504/404throttling;409 Conflicthot objects &RenewDeadline / 2leader-election timeouts;pods/execsaturation, Konnectivity (No agent available), disabled Cloud KMS keys, or in-cluster GCP IAM OAuth token webhook authorizer saturation. - Cluster/Node/Pod Health, Maintenance & Managed Prometheus (GMP):
Read for control-plane availability (
kubernetes.io/cluster/kcp_healthchecksrate 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: 0mass eviction & Autopilot preemption; or multi-burn-rate SLO alerting (GlobalRules) & GMP / Grafana /PodMonitoringmanifests & 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 |
Pertanyaan umum
Bagian observabilitas apa saja yang dicakup?
Skill mencakup Cloud Logging, Cloud Monitoring, dan Prometheus terkelola.
Apakah ia menjalankan perintah langsung ke klaster saya secara default?
Tidak. Ia hanya menjalankan perintah langsung saat Anda menyebut klaster atau proyek target, atau meminta pemeriksaannya.
Masalah apa saja yang bisa diperiksa?
Ia dapat memeriksa control plane, webhook admission, penyimpanan etcd, label node, serta masalah pengeluaran atau penjadwalan pod.
Detail
Deskripsi asli dari pembuat
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 m
repo: google/skills
Popularitas
- Bintang GitHub
- 22k
- Peringkat
- #10293
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
finding-google-skills
22kMembantu agent Anda menemukan panduan Google yang tepat untuk tugas pengaturan, seperti hosting, database, penyimpanan, login, atau penyajian model AI.
gcloud
22kMembantu agent Anda menulis dan memeriksa perintah gcloud Google Cloud, dengan mencari sintaks yang tepat sebelum menjalankan apa pun agar tidak menebak flag.
google-cloud-recipe-auth
22kMemandu agent Anda melalui identitas dan akses Google Cloud, termasuk cara orang dan layanan masuk serta izin apa yang mereka dapatkan.
google-cloud-recipe-onboarding
22kMemandu pengembang baru melalui langkah pertama di Google Cloud, termasuk memilih proyek, menautkan penagihan, dan men-deploy sumber daya pertama.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.