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.
Written by Google and published in google/skills under the Apache-2.0 license. Treq shows it unchanged except for heading levels and links to files on GitHub.
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.
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution.
gcloud and enabling the GKE API, follow
Before you begin.kubectl and getting cluster credentials, follow the
"Install kubectl", "Install required plugins", and "Store cluster
information for kubectl" sections of
Install kubectl and configure cluster access.roles/container.viewer and
roles/logging.viewer as 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;
the compute.reservations.list and compute.reservations.get permissions
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.Read-only rule: Run read-only diagnostic commands only. Never create, change, or delete a ComputeClass, node pool, or workload, or run any other command that changes the cluster. Give the user any fix to apply themselves.
When you recommend a fix, link the doc section that describes it.
spot: true.eventResult event, which lists event IDs and error messages but no Pods.
Match each eventResult to the scaleUp event that has the same eventId
and check that event's triggeringPods, as in steps 3–5 of
Example: Troubleshoot an issue over 72 hours old.
For a noScaleUp event, check unhandledPodGroups: the Pods are grouped by
their immediate controller, and each group shows one example Pod
(samplePod). The event fields are described in the "ScaleUp event",
"EventResult event", and "NoScaleUp event" sections of
View cluster autoscaler events and metrics.
Per those sections, triggeringPods and unhandledPodGroups are each
truncated to 50 entries: when triggeringPodsTotalCount or
unhandledPodGroupsTotalCount is higher than the number of entries shown,
say that the workload can be missing from the list for that reason.
skippedMigs reasons and the top-level reason and napFailureReason
name no Pods: report them as cluster-wide, not as evidence for this
workload alone. If no event names the workload, say that the error may
belong to another workload and lower your confidence.[Low Risk]Collect {project_id}, {cluster_name}, {location}, {namespace},
{workload_name}, and {issue_time} in RFC3339 UTC. Step 1 finds
{computeclass_name}. By default, query a 60-minute window
[{issue_time} - 30m, {issue_time} + 30m] ({start_time} to {end_time}).
Later steps branch on the cluster mode and the GKE version: ask the user
whether the cluster is Autopilot or Standard, and get {gke_version} by
following
Verify cluster version compatibility.
If the cluster is not a GKE cluster, say so and stop. If the user's report
matches the case that gke-ai-troubleshooting-tpu-reservation-stockout
covers (TPU node pool creation or scale-up fails although a specific TPU
reservation should cover it, and unhealthy TPU node pools with node
auto-repair disabled hold that reserved capacity), name that skill and stop
before you run any command, as described in "A hand-off ends your answer"
in Rules. Don't write a triage report, don't give commands, and don't
propose fixes, your own or that skill's. The same applies when the
evidence in a later step reveals that case.
Before running kubectl, confirm that the current context is
{cluster_name} in {location} by following
View the current context for kubectl.
If it is not, ask the user to switch by following
Set a default cluster for kubectl commands.
Ask whether a fix for this workload is already in progress (link it and stop unless the user asks for a fresh look) and whether a GitOps tool manages the ComputeClass (then the user applies any change through that workflow).
[Low Risk]{workload_name} in {namespace}, see which
ComputeClass they select, and see whether they already have a node, follow
Check if you have unschedulable Pods
and
Verify Pod status and selector.
Record the ComputeClass that the Pods select as {computeclass_name}. If
the Pods select none, ask the user whether a default ComputeClass applies
to the namespace or the cluster, as described in
Default ComputeClasses for clusters and namespaces.
If the workload uses no custom ComputeClass, record that: Step 4 has a
pattern for it.Init, ContainerCreating,
ImagePullBackOff, or CrashLoopBackOff): the blocker is inside the node,
not node capacity. Stop and hand off to gke-workload-troubleshooting
(or gke-storage-troubleshooting when a volume fails to attach or mount).spot: true, continue with the "Spot-only priorities" pattern in
Step 4; if the workload uses no custom ComputeClass, continue with the
Spot-only node pool path of the "No custom ComputeClass" pattern;
otherwise report that "Confirm node preemption" calls the preemption
expected behavior, and stop. If there were no reclaims, report what you
checked and stop.[Low Risk]Pod events: To read the Pod's Warning events (FailedScheduling,
FailedScaleUp with GCE out of resources), follow the Pod events check
in
Node scale up failed: Compute Engine out of resources.
To read the cluster autoscaler's own error entries, follow
View errors in events.
Autoscaler visibility events: Follow
Investigate errors in Logs Explorer.
The event fields are described in
Types of events.
To see the scale-up attempts and the decisions not to scale up in one
read-only query across [{start_time}, {end_time}], run this query.
resource.type="k8s_cluster"
resource.labels.cluster_name="{cluster_name}"
resource.labels.location="{location}"
log_id("container.googleapis.com/cluster-autoscaler-visibility")
(jsonPayload.resultInfo.results.errorMsg.messageId:*
OR jsonPayload.noDecisionStatus.noScaleUp:*
OR jsonPayload.decision.scaleUp:*)
timestamp >= "{start_time}" AND timestamp <= "{end_time}"
Interpret messageId values with
ScaleUp errors
and
Reasons for a noScaleUp event.
Before you classify an error, attribute it to the workload as described
in Rules.
ComputeClass state: If the workload uses no custom ComputeClass, skip
this item. Otherwise, for {computeclass_name}, follow
Check ComputeClass health and status,
Validate the unsatisfiable policy,
and
Verify provisioned nodes for the custom ComputeClass.
Record every priority rule (zones, machine series or type, spot,
flexStart, reservations, gpu, tpu, capacityCheckWaitTimeSeconds)
and whenUnsatisfiable. On GKE 1.37 and later, also follow the "Analyze
node provisioning failures" and "Interpret failure reasons" sections of
Troubleshoot custom ComputeClass issues
to get the per-ComputeClass failure reason from Cloud Monitoring.
Workload constraints: Record the Pod's nodeSelector, nodeAffinity,
topologySpreadConstraints, tolerations, accelerator requests, the disk
type and zone of any bound PersistentVolume, and the zones that the Pod
can use (for a custom ComputeClass, work out the zones of each priority
rule recorded in item 3 from the "location" and "priorityDefaults"
sections of
ComputeClass;
otherwise the locations of the node pools that match the Pod's
nodeSelector and tolerations).
If the autoscaler events are not readable, name the missing role
(roles/logging.viewer), label conclusions as hypotheses, and don't report a
confirmed capacity constraint.
[Low Risk]Match the strongest attributed signal to one of these causes; report it in plain words and link the section that explains it.
Resource unavailability in the zone: any of these signals, each documented in the section next to it.
scale.up.error.out.of.resources:
ScaleUp errors.GCE out of resources in a FailedScaleUp Pod event:
Node scale up failed: Compute Engine out of resources.no.scale.up.nap.resource.exhausted, or a MIG error that contains
ZONE_RESOURCE_POOL_EXHAUSTED, "does not have enough resources available
to fulfill the request", or "resource pool exhausted":
Check for resource unavailability.ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS:
Resolve errors by error reasons.
When the error lists recommended zones (AVAILABLE_ZONES in the message,
or zonesAvailable in the error details), record them for Step 4.RESOURCE_POOL_EXHAUSTED as the per-ComputeClass failure reason:
Interpret failure reasons.GCE_STOCKOUT for TPUs:
Insufficient TPU resources to satisfy the TPU request.Confirm with Check for resource unavailability and go to Step 4.
Compute Engine quota limit: scale.up.error.quota.exceeded,
QUOTA_EXCEEDED, or a relevant quota at its limit. Confirm with
Verify project quotas
and go to Step 4. When quota and resource unavailability both appear for
the same workload, report them as two findings and handle both in Step 4.
IP range exhausted (not capacity): scale.up.error.ip.space.exhausted
or IP_SPACE_EXHAUSTED. Point the user to
Not enough free IP address space for Pods
and don't propose a fallback change.
Node pool at its maximum size (not capacity): the node pool's node count equals its autoscaling maximum and the autoscaler skips it. Per Minimum and maximum node pool size the node pool does not scale above the maximum you specified; point the user to Enabling autoscaling for an existing node pool to raise the limit.
Node auto-provisioning could not add a node group in the zone:
no.scale.up.nap.pod.zonal.resources.exceeded. It has three documented
causes in
NoScaleUp Pod-group-level node auto-provisioning reasons
(cluster-wide limits, zone resources, or no fitting machine type), so don't
report it as a capacity constraint yet. Check the other two causes first,
and stop at the first check that finds the cause:
Only when none of these checks finds the cause, treat the message as resource unavailability and go to Step 4.
Scheduling constraint (not capacity): no.scale.up.mig.failing.predicate,
no.scale.up.nap.pod.zonal.failing.predicates, or FailedScheduling that
names taints, affinity, or volume node affinity. Follow
Verify Pod resource requests
and
Check for conflicting taints and tolerations
and point the user to the fix. A PersistentVolume zone conflict stays in
this skill:
Check for resource unavailability
names a Pod "constrained by PersistentVolume affinity to a zone that's
experiencing resource unavailability" as a resource unavailability case. If
the volume's zone shows one of the resource unavailability signals above,
classify the cause as resource unavailability and go to Step 4. If it shows
none, the conflict is not a capacity constraint: report the volume's zone
and the zones that the priority rules or node pools allow, and point the
user, for a custom ComputeClass, to the "location" section of
ComputeClass,
for manually created node pools, to "Considerations" of
Place GKE Pods in specific zones
(node pools with nodes in the requested zones), and, for new volumes, to
Improve scheduling reliability by using StorageClasses.
Hand off only volume problems that aren't about the zone to
gke-storage-troubleshooting.
ComputeClass configuration (not capacity): the Health condition is
False with NodePoolNotExist, ReservationUnusable, or Invalid machine type, or the Pod selects a ComputeClass that doesn't exist. Point the user
to the fix for that Reason in
Check ComputeClass health and status
or to
Verify Pod status and selector
for the selector.
Flex-start request waiting for capacity: a node pool that uses
flex-start with queued provisioning has a ProvisioningRequest that stays
queued. Point the user to
Observe the status of a Provisioning Request
which covers Failed=true and ResourcePoolExhausted.
Provisioning error (not capacity): PERMISSIONS_ERROR,
scale.up.error.service.account.deleted,
scale.up.error.waiting.for.instances.timeout, or another error. Point the
user to the mitigation for that message in
ScaleUp errors
or in
Interpret failure reasons
for GKE 1.37 and later.
TPU node pool queued for capacity: the user reports that node pool
creation said that nodes can't be created "due to lack of capacity", and
the provisioning request remains in the Provisioning state. Per
How GKE handles capacity issues
GKE queues the request and creates the nodes when capacity becomes
available. Point the user to that section for what they can do while the
request is queued, and to
Insufficient TPU resources to satisfy the TPU request
for the consumption options. Don't delete the node pool or the queued
request yourself.
Scale-up in backoff: the top-level reason no.scale.up.in.backoff. If
an attributed scale-up error is also in the window, classify that error.
If this reason is the only signal, per
NoScaleUp top-level reasons
the message should be transient: ask the user to check again after a few
minutes, and if it persists, direct the user to Cloud Customer Care by
following
Get support.
If a priority rule also sets flexStart with
capacityCheckWaitTimeSeconds, apply the "Flex-start priority within its
configured wait" bullet as well.
Another documented reason: any other noScaleUp reason, such as
no.scale.up.mig.skipped or no.scale.up.nap.disabled. Point the user to
the mitigation for that message in
Reasons for a noScaleUp event.
Flex-start priority within its configured wait: no scale-up error is
attributed to the workload yet, and a priority rule recorded in Step 2
sets flexStart and capacityCheckWaitTimeSeconds. Configuration, not a
signal, identifies this cause: go to the "Fallback delay on a priority"
pattern in Step 4 before you treat the evidence as matching none of these
causes.
Readable evidence that matches none of these causes: per
NoScaleUp event
noScaleUp events are best-effort and don't cover all possible reasons.
Report what you checked and direct the user to Cloud Customer Care by
following
Get support.
Insufficient evidence: no autoscaler evidence is readable. Name the missing access, report hypotheses only, and ask the user for the events.
Before closing a non-capacity cause, also check Check if the issue is caused by a limitation.
[Low Risk]For a resource unavailability or quota cause, a flex-start priority within its configured wait as described in Step 3, or Spot preemption confirmed in Step 1, compare the recorded priority rules and workload constraints against these patterns; several can apply, so report each one with its evidence. If the workload uses no custom ComputeClass, skip the patterns about priority rules and use the "No custom ComputeClass" pattern at the end; the "Zone pinned by the Pod", "Disk type that the fallback series can't attach", "Accelerator unavailable in every zone", and "TPU slices" patterns still apply. If no pattern applies, escalate as described in Step 6.
Quota limit. Read the quota name from the MIG's Errors tab, as
described in
ScaleUp errors.
Before you say whether a fallback can help, work out which quota in
{project_id} each priority rule draws on. Use the "CPU quota limits",
"GPU quota", "TPU quota", and "Preemptible quotas" sections of
Allocation quotas:
"GPU quota" and "TPU quota" say that standard and Spot VMs have different
quotas, and "Preemptible quotas" says that Spot VMs and Flex-start VMs
consume preemptible quota after the project requests it, and standard
quota if the project has never requested preemptible quota. For
flex-start with queued provisioning,
Troubleshoot quota issues
says that all VMs provisioned by Provisioning Request requests use
preemptible quotas. For TPU reservations,
Quota for on-demand or Spot VMs
says that a TPU slice node pool that consumes a TPU reservation does not
require any TPU quota. Per
Analyze autoscaler fallback behavior
the cluster autoscaler immediately tries the next priority rule after a
QUOTA_EXCEEDED error, and the same 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." Say so, apply the "Fallback delay on a priority"
pattern before you call the fallback immediate, and note that a fallback
helps only if it draws on a quota that still has room. For the quota
itself, point the user to the increase request in
Verify project quotas
and report it separately from the capacity finding.
Fallback delay on a priority. Check whether a priority rule sets
capacityCheckWaitTimeSeconds, described in the "priorities" section of
ComputeClass.
Per that section, the field is the duration for which GKE attempts to
provision the priority before falling back to lower priorities, values
shorter than the time required for the initial provisioning attempt are
ignored, and the field is "Only supported for flex-start priorities,
except single-host TPUs". If it's set on a flex-start priority other than
a single-host TPU, report the value and say that GKE attempts that
priority for that duration before it falls back. If that delay is the
only finding, report "no ComputeClass change"; whether to change the value
is the user's decision. If it's set on a single-host TPU priority (see
the "Single-host TPU slice node pools" and "Multi-host TPU slice node
pools" sections of
About TPUs in GKE;
if the recorded tpu fields don't tell you which, ask the user), cite
that sentence, don't state that the delay applies, and, if no other
Step 4 pattern applies, continue with the "Readable evidence that matches
none of these causes" bullet in Step 3. If it's set on a TPU priority that
doesn't use flex-start,
cite that sentence and the exception in
Analyze autoscaler fallback behavior
("TPUs or the Flex Start provisioning model"), say that the two pages
differ, and don't state whether the delay applies. If it's unset, treat
the fallback as immediate: per the same section of
ComputeClass,
GKE falls back as soon as the initial provisioning attempt is unsuccessful.
One zone or one machine series in the ComputeClass. Every priority rule
allows the same zone, or only one machineFamily or machineType. Follow
Choose your fallback compute priorities
and
Request machine series instead of machine types
to widen the class. When the error lists recommended zones (recorded in
Step 3), propose those zones, as described in
Resolve errors by error reasons.
Per that section, when no other zones in the region have capacity, the
error message doesn't list alternative zones. For a TPU priority, don't
add a machine-series fallback; see the "TPU slices" pattern.
Zone pinned by the Pod. The Pod pins a zone with nodeSelector or
nodeAffinity, or has a topology spread constraint with
whenUnsatisfiable: DoNotSchedule. Point the user to the Pod-level fix
that the docs give, and say that it is the user's decision:
whenUnsatisfiable is DoNotSchedule, and the spread
requirements can be softened by setting ScheduleAnyway.nodeSelector or nodeAffinity zone pin: per
Node scale up failed: Compute Engine out of resources,
"If your Pod has a zonal restriction such as a topology selector, remove
the restriction if you can." To let the Pods run in more zones instead,
the user can follow
Place Pods in multiple zones using nodeAffinity.
If a bound zonal volume also pins the zone, report both pins and use the
"Disk type that the fallback series can't attach" pattern for the fix
instead of proposing to remove the Pod's pin.Don't propose ComputeClass zones in the same change. Per the caution in Prioritize Pod placement in selected zones using a compute class: "We don't recommend combining zonal preferences in compute classes with previous zonal topology methods in Kubernetes."
Only large machine types. The priorities allow only large shapes and nothing smaller. Per Node scale up failed: Compute Engine out of resources smaller machine types are more likely to have available resources (the note in Overview of Spot VMs in GKE gives the same advice for Spot VMs). Propose smaller shapes of the same series below the current one, or a workload split if one Pod needs the large shape.
Disk type that the fallback series can't attach. Compare the bound volume's disk type with Machine series support for Persistent Disk and with the "Machine series support for Hyperdisk" and "Restrictions for machine series support" sections of Google Cloud Hyperdisk overview for Hyperdisk. Report what those sections say about each series in their words, including a restriction. A priority whose series can't attach the volume never schedules the Pod. Offer both documented fixes: machine series that support the volume's disk type, or the StorageClass approach in Improve scheduling reliability by using StorageClasses for new volumes. On Autopilot clusters, also see Workload scheduled on older machine series or stuck in Pending state due to storage incompatibility. A bound zonal volume also pins the zone: widen machine series, not zones.
Spot-only priorities. Every priority sets spot: true. Check Spot
availability for the shapes by following
View the availability of Spot VMs
and confirm reclaims with
Confirm node preemption
whose resolution recommends on-demand VMs for workloads that can't tolerate
interruptions. Propose an on-demand priority below the Spot ones. See also
Verify Spot VMs configuration
for the ComputeClass side.
Accelerator unavailable in every zone. The Pod requests a GPU or TPU and each zone of the region reports the error for this workload, so more zones won't help. Name the options that the docs list, without ranking them.
reason in
Resolve errors by error reasons.Check GPU settings with Verify GPU configuration as well.
TPU slices. For a TPU request, also point the user to the options in
Insufficient TPU resources to satisfy the TPU request
and
Resolve errors when you create TPU slices.
Before you offer flex-start for a TPU, open "Requirements" of
About GPU, TPU, and H4D consumption with flex-start provisioning mode
and quote the zones that it lists for that TPU version. If the user's
zones aren't listed, say that flex-start isn't available there; don't
name zones that you didn't read on that page.
A multi-host slice is one atomic unit per
Multi-host TPU slice node pools,
so a machine-series fallback doesn't place it. To add zones for the same
TPU type and topology, follow the location fields in
TPU configuration
and the example in
Target AI zones.
Reservation not used. To find the reservation, its machine type and
zone, and how many instances can still consume it, follow the "View
reservations" and "Determine the number of consumable instances" sections
of
View reservations or future reservation requests
for {project_id}. Per "Limitations" on that page, a shared reservation
can be viewed only in the project where it was created. If no matching
reservation is listed in {project_id}, don't conclude that none exists:
ask the user whether a reservation is shared from another project, and if
so, ask the user to check it in the owner project. If a priority already
consumes the reservation, point the user, on GKE 1.37 and later, to the
reservation reasons in
Interpret failure reasons
and, on Autopilot clusters, to "Troubleshooting consuming reservations in
Autopilot" of
Consuming reserved zonal resources.
On Standard clusters earlier than 1.37, use the result of "Determine the
number of consumable instances" instead of the metric: if no instances can
still consume the reservation, say so and point the user to the corrective
action that "Interpret failure reasons" gives for
RESERVATION_CAPACITY_EXCEEDED. On a Standard cluster, for a specific TPU
reservation whose consumable instances are fewer than the slice needs, or
when unhealthy TPU node pools with node auto-repair disabled hold the
reserved capacity, name
gke-ai-troubleshooting-tpu-reservation-stockout, which finds the VMs and
node pools that hold the slots, and stop as described in Step 0; don't
point the user to the RESERVATION_CAPACITY_EXCEEDED action for that
case (on Autopilot clusters, point the user to the consumption options in
the "TPU slices" pattern instead). When a reservation for a matching shape
has unused capacity but no priority consumes it, or the priority uses an
affinity that lets Compute Engine fall back to on-demand, follow
Consume Compute Engine reservations
and
Use capacity reservations for in-demand hardware
to add a reservation priority; per
Auto-create node pools to consume reservations,
non-TPU reservations can be used only when either the machineType or
machineFamily is defined. Whether or not a priority already consumes
it, for a reservation that is shared from another project, check that the
priority sets the project field described in
Auto-create node pools to consume reservations
and the IAM steps in
Consuming a specific shared reservation
apply (on Autopilot clusters, use "Consume a specific shared reservation
in Autopilot" for the IAM steps). For a reservation created recently,
cite
Don't consume new reservations for at least one hour
first.
Last-resort behavior and recovery. Check whenUnsatisfiable against
Explicitly define the last-resort scaling behavior
where ScaleUpAnyway suits workloads that can run on any machine series
and DoNotScaleUp suits workloads that need specific hardware; state the
trade-off instead of presenting either value as the fix. For stateless
workloads, mention activeMigration.optimizeRulePriority as described in
Active migration
and check
Disable active migration
before suggesting it for stateful ones.
No custom ComputeClass. The workload has no priority rules to change.
For resource unavailability, point the user to the resolutions in
Node scale up failed: Compute Engine out of resources
and to the "Use regional clusters" and "Use Compute Engine reservations"
resolutions in
Check for resource unavailability.
"Node scale up failed: Compute Engine out of resources" also recommends
defining a custom ComputeClass with fallback machine series: if the user
gives a draft, review it as described in Step 5; if the user wants one
written, hand off to gke-compute-classes. For a workload on Spot-only
node pools, confirm reclaims with
Confirm node preemption,
whose resolution recommends on-demand VMs for workloads that can't
tolerate interruptions. For a quota limit, point the user to
Verify project quotas.
The "Zone pinned by the Pod", "Disk type that the fallback series can't
attach", "Accelerator unavailable in every zone", and "TPU slices"
patterns still apply. If no documented fix is possible, escalate as
described in Step 6.
[High Risk]This step applies when a Step 4 pattern calls for a ComputeClass change, or when the user gives a draft ComputeClass to review for this incident. If no Step 4 pattern calls for a ComputeClass change (Step 4 ended only in "no ComputeClass change", a Pod-level fix, or a cluster-level fix), skip to Step 6. For a draft, there is no current object: give the corrected draft instead of a diff.
priorities list from the rules and examples in the
"Choose your fallback compute priorities", "Priority rule scores",
"Top-level node properties for priority rules", and "Define scaling
behavior when no priority rules apply" sections of
About custom ComputeClasses,
with the field reference in
ComputeClass specification
for each field. Keep the user's preferred rule first and add fallbacks
below it. Respect the restrictions that the "priorities", "location", and
"specific" sections of
ComputeClass
state, and the "Limitations" of
About GPU, TPU, and H4D consumption with flex-start provisioning mode
(no Spot VMs, no reservations) and, for any flexStart priority, the
machine-type restriction in Rules. Don't call GPU and TPU priorities in one
class invalid: the example in
Target AI zones
mixes them. Give the corrected draft for this incident here; hand off
ComputeClass authoring beyond this fix to gke-compute-classes.[Low Risk]After the user applies a fix, repeat Step 1 and the Step 2 query to see whether the Pods scheduled. For a ComputeClass change, also confirm new nodes with Verify provisioned nodes for the custom ComputeClass and check whether the next priority also fails. If it fails too, that is expected; repeat Step 4 for it rather than rolling back. Set expectations with documented timings only: the retry backoff in Backoff periods and, for a new reservation, the one hour in Don't consume new reservations for at least one hour before judging the change. If the alert recurs, follow Check if you previously had unschedulable Pods to compare with the earlier incident. When no documented fix applies (for example an accelerator unavailable in every zone and no change of shape or location possible), direct the user to Cloud Customer Care by following Get support with a summary of what you checked.
In this order: cause with attributed evidence and confidence; quota and resource availability on separate lines; why the fallback did not help (Step 4 patterns); proposed change with trade-offs, each provisioning path, and a doc section per recommendation, or the Pod-level or cluster-level fix to point the user to, or "no ComputeClass change"; what you checked and could not; next steps (verification, Customer Care).
Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /gke-capacity-triage in Claude Code or $gke-capacity-triage in Codex.
The description says when to use it:
Use when a user pastes a scale-up failure alert or asks why Pods are stuck Pending, lack nodes, or hit a stockout.
Copy the gke-capacity-triage folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.
git clone --depth 1 https://github.com/google/skills.git /tmp/google-skills
mkdir -p .claude/skills
cp -r /tmp/google-skills/skills/cloud/gke-capacity-triage .claude/skills/
Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if gke-capacity-triage does not appear.
git clone --depth 1 https://github.com/google/skills.git /tmp/google-skills
mkdir -p .agents/skills
cp -r /tmp/google-skills/skills/cloud/gke-capacity-triage .agents/skills/
Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for gke-capacity-triage and choose Install….
Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.
gke-capacity-triage ships 2 files, 59.4 KB in total. Select a file to load it from GitHub.