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…
от google★ 25 380 звёзд на GitHub
Установить gke-capacity-triage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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 limita
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/attribution.md
FAQ
Что делает скилл 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). 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.
Как установить скилл gke-capacity-triage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gke-capacity-triage запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…