gke-workload-scaling
Skill by google
Manages scaling for GKE workloads using Horizontal Pod Autoscaler (HPA) and Vertical Pod Autoscaler (VPA). It is for engineers who need to configure workload autoscaling or right-size pod resources on Google Kubernetes Engine.
Install gke-workload-scaling
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-workload-scaling ~/.claude/skills/gke-workload-scalingRun 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-workload-scaling ~/.gemini/antigravity-cli/skills/gke-workload-scalingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install gke-workload-scaling in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives workflows and best practices for scaling applications on Google Kubernetes Engine. It covers manual scaling with kubectl, Horizontal Pod Autoscaling based on CPU, memory or custom metrics, and Vertical Pod Autoscaling that adjusts pod CPU and memory reservations. It includes example manifests for HPA and VPA and a rightsizing workflow that runs VPA in Off mode before applying changes.
The skill is meant for people who configure autoscaling for GKE workloads. It explicitly excludes cluster-level autoscaling with Cluster Autoscaler, static cluster sizing, and direct configuration of node-level machine types. The guidance covers prerequisites such as Metrics Server, VPA enablement on Standard clusters, and avoiding conflicts where HPA and VPA target the same metric.
Written from the project's SKILL.md and checked against it.
What it can do
- Manual scalingScales a deployment to a fixed number of replicas using kubectl and checks the result.
- HPA setupCreates a Horizontal Pod Autoscaler with a quick command or a YAML manifest template.
- External metrics guidanceExplains using the External metric type for Cloud Monitoring metrics such as Pub/Sub queue length.
- VPA enablementShows how to enable Vertical Pod Autoscaling on a Standard GKE cluster with gcloud.
- VPA update modesDescribes the Off, Initial, Auto and InPlaceOrRecreate update modes for VPA.
- Rightsizing workflowSteps to read VPA recommendations and apply requests with a 20% buffer.
- Best practicesGuidance on resource requests, avoiding HPA and VPA metric conflicts, and Pod Disruption Budgets.
What you need
- Access to a GKE cluster
- kubectl
- gcloud CLI
- Metrics Server running, enabled by default on GKE
Try asking
- Set up an HPA for my deployment that scales between 1 and 10 pods at 50% CPU
- Run VPA in Off mode on my checkout deployment and summarize its recommendations
- Enable Vertical Pod Autoscaling on my Standard GKE cluster named prod-cluster
Good to know
- VPA on Standard clusters must be enabled manually. Autopilot enables it by default.
- By default VPA evicts pods only when at least 2 replicas run.
- InPlaceOrRecreate mode requires GKE 1.34 or later.
- Does not cover Cluster Autoscaler, static cluster sizing or node machine types.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/cloud/gke-workload-scaling/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
assets/hpa-example.yaml519 B -
assets/vpa-example.yaml437 B -
references/attribution.md2 KB
Alternatives to gke-workload-scaling
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-workload-scaling: common questions
Does this skill configure Cluster Autoscaler?
No. The source says not to use this skill for cluster-level autoscaling with Cluster Autoscaler.
Should I use HPA and VPA on the same metric?
The source advises against it because it causes thrashing. A typical pattern is HPA on CPU and VPA on memory.
How do I right-size pod resources safely?
Deploy VPA in Off mode for 24 or more hours, read its recommendations, then apply new requests with a 20% buffer.
How do I install gke-workload-scaling?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gke-workload-scaling free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is gke-workload-scaling safe to use?
It scores 89 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-workload-scaling?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
