gke-cluster-autoscaler
Skill by google
Guides operators through enabling, tuning and troubleshooting Google Kubernetes Engine (GKE) Cluster Autoscaler. Covers nodes that fail to scale, zonal stockouts, backoff timers and capacity buffers. ComputeClass YAML is handed off to the gke-compute-classes skill.
Install gke-cluster-autoscaler
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-cluster-autoscaler ~/.claude/skills/gke-cluster-autoscalerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/cloud/gke-cluster-autoscaler ~/.gemini/antigravity-cli/skills/gke-cluster-autoscalerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install gke-cluster-autoscaler in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The gke-cluster-autoscaler skill gives an AI assistant guidance on Google Kubernetes Engine (GKE) Cluster Autoscaler. It covers enabling and optimizing the autoscaler, along with node pool auto-creation and node auto-provisioning. It helps diagnose nodes that do not scale up or down, zonal stockouts, scale-up backoff durations, CapacityQuota and CapacityBuffer resources.
The skill points to autoscaler visibility logs in Cloud Logging and includes scripts to tail autoscaler events and find scale-down blockers. It lists common blockers such as bare pods, safe-to-evict annotations and PodDisruptionBudgets. ComputeClass YAML generation and priority configuration are handed off to the gke-compute-classes skill. It is aimed at people running autoscaling on GKE clusters.
Written from the project's SKILL.md and checked against it.
What it can do
- Enable autoscalingExplains how to turn on Cluster Autoscaler, node pool auto-creation and node auto-provisioning.
- Troubleshoot scale-upDiagnoses nodes not scaling up, including stockouts, quota errors and IP exhaustion.
- Find scale-down blockersWalks through bare pods, safe-to-evict annotations, local storage, PDBs and other blockers.
- Tune consolidationCovers cluster autoscaling profiles and consolidation delay for faster scale-down.
- Set location policyExplains ANY and BALANCED location policies and how they behave during stockouts.
- Configure capacity buffersGuides use of CapacityBuffer for pre-warmed or standby nodes.
- Cap scale-up with CapacityQuotaDescribes granular scale-up limits for node subsets, in Preview on GKE 1.36.2+.
- Read autoscaler logsUses a script to tail and parse Cluster Autoscaler visibility log events.
What you need
- gcloud command line tool
- Access to a GKE cluster
- kubectl
Try asking
- Why are my GKE nodes not scaling down?
- Check my Cluster Autoscaler logs for scale-up errors
- How do I set up a CapacityBuffer to keep nodes warm?
Good to know
- CapacityQuota is in Preview on GKE 1.36.2 and later, and is cluster-scoped.
- Scale-down graceful termination limit is not configurable.
- Several features depend on specific GKE versions.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/cloud/gke-cluster-autoscaler/SKILL.md, skills/cloud/gke-cluster-autoscaler/assets/find-scale-down-blockers.sh, skills/cloud/gke-cluster-autoscaler/assets/log-autoscaler-events.sh. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md19 KB -
assets/capacity-buffer-serving.yaml3 KB -
assets/capacity-quota-examples.yaml1 KB -
assets/find-scale-down-blockers.sh9 KB -
assets/log-autoscaler-events.sh11 KB
Show all 14 files
-
references/attribution.md2 KB -
references/ca-capacity-buffers.md7 KB -
references/ca-capacity-quotas.md4 KB -
references/ca-code-index.md6 KB -
references/ca-consolidation-tuning.md2 KB -
references/ca-debug.md6 KB -
references/ca-observability.md7 KB -
references/ca-optimization.md8 KB -
references/ca-provisioning.md2 KB
Alternatives to gke-cluster-autoscaler
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-cluster-autoscaler: common questions
Does this skill generate ComputeClass YAML?
No. The source says ComputeClass YAML generation, schemas and priority configuration are deferred to the gke-compute-classes skill.
Do DaemonSets block scale-down?
No. The source says DaemonSets are ignored during scale-down and do not block it. Real blockers include bare pods, safe-to-evict false annotations and local storage.
How long does scale-down wait for pods to drain?
Up to 1 hour on GKE 1.32.7-gke.1079000 and later, and up to 10 minutes on earlier versions. The source says this is not configurable.
How do I install gke-cluster-autoscaler?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gke-cluster-autoscaler free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is gke-cluster-autoscaler safe to use?
It scores 92 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-cluster-autoscaler?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
