gke-capacity-triage
Triage a GKE workload stuck Pending because node provisioning fails with a Compute Engine capacity error (ZONE_RESOURCE_POOL_EXHAUSTED, "GCE out of resources", scale.up.error.out.of.resources) or a quota error (QUOTA_EXCEEDED).
Install / Use
npx skills add google/skills --skill gke-capacity-triageInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Content & MediaSupported Platforms
Tags
Our assessment of gke-capacity-triage
gke-capacity-triage scores 90/100 on our quality scale, 399th of 1,145 Content & Media skills we index (top 35%).
Its SKILL.md is 58 KB long, well organised into 14 sections and no code examples: long enough that it reads more like full documentation than a focused instruction file, which agents can find harder to follow.
With 20,340 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so gke-capacity-triage is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
gke-capacity-triage compared with similar skills
All 4 of these similar skills score higher than gke-capacity-triage; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| gke-capacity-triage (this skill)by google | 90 | 20.3k | 2mo ago | SKILL.md |
| siyuanby siyuan-note | 100 | 47.4k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 2mo ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 2mo ago | SKILL.md |
| prospectingby coreyhaines31 | 100 | 62.2k | 5d ago | SKILL.md |
Frequently asked questions
- How do I install gke-capacity-triage?
- Run
npx skills add google/skills --skill gke-capacity-triage. The install tabs above show the steps for each supported agent. - Which AI agents does gke-capacity-triage work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is gke-capacity-triage safe to use?
- It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is gke-capacity-triage still maintained?
- The repository was last updated about 2 months ago, so gke-capacity-triage is actively maintained.
Skill content
View source on GitHubname: gke-capacity-triage description: >- Triage a GKE workload stuck Pending because node provisioning fails with a Compute Engine capacity error (ZONE_RESOURCE_POOL_EXHAUSTED, "GCE out of resources", scale.up.error.out.of.resources) or a quota error (QUOTA_EXCEEDED). Separates resource unavailability from quota limits and configuration causes, explains why the ComputeClass fallback didn't help, and gives the documented ComputeClass, Pod-level, or cluster-level fix to apply. Use when a user pastes a scale-up failure alert or asks why Pods are stuck Pending, lack nodes, or hit a stockout. Don't use for Standard-cluster TPU slices whose specific reservation lacks consumable instances, such as one held by unhealthy node pools with auto-repair disabled (gke-ai-troubleshooting-tpu-reservation-stockout), autoscaler enablement, profiles, or scale-down (gke-cluster-autoscaler), ComputeClass authoring without an incident (gke-compute-classes), Pods already on a node (gke-workload-troubleshooting, gke-storage-troubleshooting), or non-GKE clusters. metadata: version: "1.0.0" category: Containers
Triage GKE capacity constraints for a Pending workload
When Compute Engine can't create the machine shape that a ComputeClass
priority rule asks for, or the project is at a quota limit, the cluster
autoscaler immediately tries the next rule in the priorities list, as
described in
Analyze autoscaler fallback behavior.
That section states one exception: "There is no waiting period before GKE
falls back to the next priority, except when using TPUs or the Flex Start
provisioning model, which support a configurable delay." To check for a
configured delay, see the capacityCheckWaitTimeSeconds field in the
"priorities" section of
ComputeClass.
The node pool that failed is retried after the backoff described in
Backoff periods.
Pods stay Pending when no rule can be satisfied, when the Pod or its volume
pins a zone that is out of the shape, or when the cause is not capacity. This
skill orders the checks, separates quota from resource availability and from
configuration causes, and drafts the change for the user to apply.
Usage Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution.
Prerequisites
- Google Cloud SDK and tools:
- For installing and initializing
gcloudand enabling the GKE API, follow Before you begin. - For installing
kubectland getting cluster credentials, follow the "Install kubectl", "Install required plugins", and "Store cluster information for kubectl" sections of Install kubectl and configure cluster access.
- For installing and initializing
- Billing: The project needs an active Cloud Billing account.
- Required IAM roles (read-only triage):
roles/container.viewerandroles/logging.vieweras listed in "Before you begin" of Troubleshoot custom ComputeClass issues; Compute Viewer (roles/compute.viewer) for the Spot availability check, as listed in "Required roles" of View the availability of Spot VMs; thecompute.reservations.listandcompute.reservations.getpermissions to view reservations, as listed in "Required permissions" of View reservations or future reservation requests; and the permissions in Permissions for viewing quota for the quota check. The user who applies a ComputeClass change needs Kubernetes Engine Admin (roles/container.admin) or equivalent RBAC. - Documentation:
- Control autoscaled node attributes with custom ComputeClasses (Sections: "Before you begin")
- Install kubectl and configure cluster access (Sections: "Install kubectl", "Install required plugins", "View the current context for kubectl", "Store cluster information for kubectl", "Set a default cluster for kubectl commands")
- Quota permissions (Sections: "Permissions for viewing quota")
- Troubleshoot custom ComputeClass issues (Sections: "Before you begin", "Verify cluster version compatibility", "Verify Pod status and selector", "Verify provisioned nodes for the custom ComputeClass", "Check ComputeClass health and status", "Validate the unsatisfiable policy", "Verify Pod resource requests", "Check for conflicting taints and tolerations", "Analyze node provisioning failures", "Interpret failure reasons", "Check resource limits for node pool auto-creation", "Analyze autoscaler fallback behavior", "Check for resource unavailability", "Verify project quotas", "Verify GPU configuration", "Verify Spot VMs configuration")
- Troubleshoot cluster autoscaler not scaling up (Sections: "Check if you have unschedulable Pods", "Check if you previously had unschedulable Pods", "Check if the issue is caused by a limitation", "View errors in events", "Example: Troubleshoot an issue over 72 hours old", "ScaleUp errors", "Reasons for a noScaleUp event", "NoScaleUp top-level reasons", "NoScaleUp MIG-level reasons", "NoScaleUp Pod-group-level node auto-provisioning reasons", "Investigate errors in Logs Explorer")
- View cluster autoscaler events and metrics (Sections: "Types of events", "ScaleUp event", "EventResult event", "NoScaleUp event")
- About GKE cluster autoscaling (Sections: "Minimum and maximum node pool size", "Backoff periods", "Limitations")
- Autoscaling a cluster (Sections: "Enabling autoscaling for an existing node pool")
- About custom ComputeClasses (Sections: "Choose your fallback compute priorities", "Priority rule scores", "Top-level node properties for priority rules", "TPU configuration", "Target AI zones", "Define scaling behavior when no priority rules apply", "Active migration", "Consume Compute Engine reservations", "Auto-create node pools to consume reservations", "Default ComputeClasses for clusters and namespaces")
- Best practices for ComputeClasses (Sections: "Explicitly define the last-resort scaling behavior", "Disable active migration", "Improve scheduling reliability by using StorageClasses", "Request machine series instead of machine types", "Use capacity reservations for in-demand hardware", "Don't consume new reservations for at least one hour")
- ComputeClass (Sections: "ComputeClass specification", "priorities", "location", "priorityDefaults", "reservations", "specific", "flexStart")
- Place GKE Pods in specific zones (Sections: "Considerations", "Place Pods in multiple zones using nodeAffinity", "Prioritize Pod placement in selected zones using a compute class")
- Troubleshooting Autopilot clusters (Sections: "Node scale up failed: Compute Engine out of resources", "Nodes fail to scale up: Pod zonal resources exceeded", "Workload scheduled on older machine series or stuck in Pending state due to storage incompatibility")
- Troubleshoot IP address management in VPC clusters (Sections: "Not enough free IP address space for Pods")
- Allocation quotas (Sections: "Quotas and resource availability", "CPU quota limits", "GPU quota", "TPU quota", "Preemptible quotas")
- Troubleshoot resource availability errors (Sections: "Resolve resource availability errors", "Resolve errors by error reasons", "Resolve errors when you create TPU slices")
- View the availability of Spot VMs (Sections: "Required roles", "View the availability of Spot VMs")
- View reservations or future reservation requests (Sections: "Limitations", "Required permissions", "View reservations", "Determine the number of consumable instances")
- Troubleshoot nodes with the NotReady status in GKE (Sections: "Confirm node preemption")
- Spot VMs (Sections: "Overview of Spot VMs in GKE")
- About GPU, TPU, and H4D consumption with flex-start provisioning mode (Sections: "Requirements", "Limitations")
- About Flex-start VMs (Sections: "Limitations for all Flex-start VMs")
- Run a large-scale workload with flex-start with queued provisioning (Sections: "Observe the status of a Provisioning Request", "Troubleshoot quota issues")
- Consuming reserved zonal resources (Sections: "Consuming a specific shared reservation", "Consume a specific shared reservation in Autopilot", "Troubleshooting consuming reservations in Autopilot")
- About TPUs in GKE (Sections: "Multi-host TPU slice node pools", "Single-host TPU slice node pools")
- Troubleshoot TPUs in GKE (Sections: "Insufficient quota to satisfy the TPU request", "Quota for on-demand or Spot VMs", "How GKE handles capacity issues", "Insufficient TPU resources to satisfy the TPU request")
- [Persistent Disk](https://docs.cloud.google.com/compute/docs/disks/persis
Truncated for display — read the full file on GitHub.
Related Skills
siyuan
47.4kAn open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
prospecting
62.2kWhen the user wants to find and qualify prospects for outbound, or asks who to target first, which signal to prioritize, or where to spot buyers with the problem: buying signals, enrichment, verification, account research.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
