gke-alert-configuration
Skill by google
Configures Terraform alerting policies for Google Kubernetes Engine clusters, workloads, and services using PromQL and Google Cloud Managed Service for Prometheus. Built for teams that need SLO burn-rate, memory, and cluster health alerts on GKE.
Install gke-alert-configuration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloud/gke-alert-configuration ~/.claude/skills/gke-alert-configurationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install gke-alert-configuration in Claude Code
git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/cloud/gke-alert-configuration ~/.gemini/antigravity-cli/skills/gke-alert-configurationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install gke-alert-configuration in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant in writing, analyzing, validating, and deploying Terraform alerting policies for GKE. It uses PromQL through Google Cloud Managed Service for Prometheus and aims to cover the 4 Golden Signals plus cluster health. Covered areas include latency, multi-window multi-burn-rate error alerts, traffic drop detection, memory limit saturation, CrashLoopBackOff, and Node NotReady conditions.
The skill follows a plan, validate, and execute loop for edits to Terraform files on disk. It uses a validation script to check PromQL grammar, lookback windows, and duplicate signals. It also applies cost guardrails: alerts that rely on kube-state-metrics require explicit user permission first. The skill is for platform and SRE engineers who run GKE and manage alerting as Terraform code. It is scoped to GKE only and redirects requests for standalone Compute Engine or Cloud Run monitoring.
Written from the project's SKILL.md and checked against it.
What it can do
- Multi-burn-rate SLO alertsGenerates Multi-Window Multi-Burn-Rate error alerts instead of simple error rate ratios.
- Memory saturation alertsAlerts on container memory working set against the container memory limit.
- Cluster health alertsCovers CrashLoopBackOff and Node NotReady conditions on GKE.
- Traffic drop detectionUses absent() or default 0 syntax to catch traffic falling to zero.
- Validated change plansDrafts a change plan and runs validate_config.py before editing alerts.tf.
- kube-state-metrics guardrailAsks for permission and suggests allowlists before using KSM-dependent metrics.
- Out-of-scope redirectionRedirects requests for standalone Compute Engine or Cloud Run monitoring to other metrics.
What you need
- Terraform
- Google Kubernetes Engine cluster
- Google Cloud Managed Service for Prometheus
- Python 3 to run the validation script
Try asking
- Write Terraform alerts for error rates on my GKE service using burn rates.
- Add a memory saturation alert for pods in var.namespace in alerts.tf.
- Create Terraform alerts for CrashLoopBackOff and Node NotReady on my cluster.
Good to know
- Writes Terraform (.tf) files only and uses PromQL only, not MQL or condition_threshold unless requested.
- Not for standalone Compute Engine VMs or standalone Cloud Run services without GKE.
- Alerts that need kube-state-metrics require user permission first because of ingestion costs.
- Does not configure notification channels unless the user provides one.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/cloud/gke-alert-configuration/SKILL.md, skills/cloud/gke-alert-configuration/scripts/validate_config.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md21 KB -
references/attribution.md2 KB -
references/gke_configuration_prerequisites.md11 KB -
references/metrics_and_alerts_catalog.md24 KB -
references/promql_queries.md12 KB
Show all 6 files
-
scripts/validate_config.py13 KB
Alternatives to gke-alert-configuration
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
gke-alert-configuration: common questions
Does this skill work with Compute Engine or Cloud Run?
No. The source says it is strictly scoped to GKE, and it redirects standalone Compute Engine or Cloud Run monitoring to standard Cloud Monitoring metrics.
Does it include CPU alerts?
No. For saturation, the source says to include only memory saturation, because CPU is compressible and throttled rather than fatally terminated.
Will it add kube-state-metrics alerts automatically?
No. Rules that rely on Tier 2 KSM metrics require explicit user approval first, and the skill suggests allowlisting to limit ingestion costs.
How do I install gke-alert-configuration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gke-alert-configuration free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is gke-alert-configuration safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to gke-alert-configuration?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
