[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7211V50KZV885Z7DPYY4WAZ":3,"skill-same:01M7211V50KZV885Z7DPYY4WAZ":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7211V50KZV885Z7DPYY4WAZ","topology-drift",null,"Fleet-wide zonal placement skew from one `leeway report` sweep across several clusters — which multi-replica workloads have their running replicas concentrated in one zone, why (a conflicting nodeAffinity under a soft spread constraint, no spread constraint at all, zonal PersistentVolumes, a zone out of CPU, a zone cordoned or NotReady, a node pool that exists in one zone), the share a zone failure takes, and which remediation category each cause takes; a GitOps pull request only where the fix is a manifest. A question about one managed cluster is that cluster's Cluster Agent's, delegated by kanban card.","gke-labs\u002Fkube-agents","gke-labs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F197140281?v=4","01M720MEZR8K6WD2WTHNQE346Q","01M720MF0BRA9RGH1QVT4J0M0E",126,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Ftopology-drift\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: topology-drift\ndescription: Fleet-wide zonal placement skew from one `leeway report` sweep across several clusters — which multi-replica workloads have their running replicas concentrated in one zone, why (a conflicting nodeAffinity under a soft spread constraint, no spread constraint at all, zonal PersistentVolumes, a zone out of CPU, a zone cordoned or NotReady, a node pool that exists in one zone), the share a zone failure takes, and which remediation category each cause takes; a GitOps pull request only where the fix is a manifest. A question about one managed cluster is that cluster's Cluster Agent's, delegated by kanban card.\n---\n\n# Topology Drift (Platform Agent)\n\nUse this skill for the fleet question: which clusters have workloads that would not survive a zone failure, and why. `leeway report` reads every target cluster in one run and does the counting and the first pass at attribution; this skill is about reading what it printed, confirming it, and naming the cause and the remediation category without proposing the wrong fix. Four of the causes below take no manifest change at all, and an agent that answers every skew with a `topologySpreadConstraints` pull request sends the operator to edit a manifest that is correct.\n\n## Delegate or run\n\nPer `AGENTS.md` (\"Delegation\") single-cluster runtime debugging is the Cluster Agent's. Call `get_cluster_profile_name(project, cluster, location)` for the cluster the request names:\n\n- `exists: true` — delegate: `kanban_create(assignee=\"\u003Cprofile-name>\", title=\"Topology skew in \u003Cnamespace or cluster>\", body=\"\u003Cthe question, the namespace, and the report format the requester asked for>. Read-only.\")`. The Cluster Agent runs its own copy of this skill and completes the card with the per-workload attribution. If the request asked for a fix and the card's `metadata.proposed_patch` is a manifest change (rows 1 and 3 below), submit it via `submit-suggestion`; otherwise the RCA and the recommendation go back in your reply.\n- `exists: false`, or the request spans several clusters — run the sweep yourself, below.\n\n## Running the sweep\n\nCall the `platform_control` `fleet_scope` tool first: when it lists `excluded_clusters`, drop each one from the target triples (excluded clusters are never read, listed or reported on) and name each one as excluded and not checked.\n\n```bash\nleeway report --topology-tier-c-signals --parallelism 2 --clusters \u003Cproject>\u002F\u003Clocation>\u002F\u003Ccluster>,\u003Cproject>\u002F\u003Clocation>\u002F\u003Ccluster>\n```\n\nName every target as a `project\u002Flocation\u002Fcluster` triple (resolve them with `list_cluster_profiles`, or from the request, less any `excluded_clusters`); add `--namespace \u003Cns>` to scope every cluster to one namespace. Target clusters with `--clusters` only: inside the sandbox each triple becomes a `kubectl --context=gke_\u003Cproject>_\u003Clocation>_\u003Ccluster>` read through `\u003Cname>-kube-proxy`, and an exported single-cluster `KUBECONFIG` would omit the other contexts. `--topology-tier-c-signals` adds the unattributed Tier C rows (`suspectedCause: unknown` — workloads with no declared or assumed spread intent and no concrete cause; cause-attributed Tier C rows like `volume_pinning` already appear by default), `NodeGroup` skew rows, and `selector_confined` (`severity: info`) workloads whose `nodeSelector` or required `nodeAffinity` confines them onto a single-zone node pool; `--parallelism 2` bounds concurrent cluster snapshot reads through `\u003Cname>-kube-proxy`.\n\nThe output is one JSON document (`leeway.report\u002Fv1alpha1`) on stdout with one `clusters[]` entry per target, in the order given, and a `summary` with `clusters_total`, `clusters_succeeded`, `clusters_failed`, `topology_findings`, `by_severity` and `by_tier`. A real one, from a four-cluster sweep, is at `references\u002Freport-example.json`. If `leeway` is not on `PATH`, the sandbox image predates it: say so and stop rather than substituting a hand survey.\n\n\u003C!-- shared:reading-start -->\n\n## Reading the report\n\nRead in this order. Each step can end the analysis early, and skipping ahead to the workload findings is how a cordoned zone gets misreported as six misconfigured Deployments.\n\n1. **`clusters[].status`.** `\"error\"` carries an `error` string and nothing else: that cluster was not read, and it is reported as unscanned, never as clean.\n2. **`clusters[].domains[\"topology.kubernetes.io\u002Fzone\"]`** — the zone census, one entry per zone with `nodes`, `ready`, `usable` (Ready and schedulable) and allocatable CPU and memory. One zone: nothing can spread, say so and stop. A zone with `usable: 0` or `ready: 0`: a Domain finding (next step) explains every workload stacked in the other zones.\n3. **Findings whose `subject.kind` is `\"Domain\"`** (`kind: \"leeway.domain_unavailable\"`). A zone that is cordoned or down is the cause of the skew around it; the workloads in the remaining zones are its consequence and get no finding of their own.\n4. **Workload findings** (skipping `subject.kind == \"NodeGroup\"` rows emitted with `--topology-tier-c-signals`, which record pool-level node distribution as cluster context rather than a workload), each read in this order: `suspectedCause` → `remediation.kind` → `intent.source` and `intent.evidence[]` → `contributingFactors[]` → `domains[]`.\n\nWhat the fields are:\n\n- `kind` — `leeway.contract_violated` (a declared hard constraint is broken), `leeway.placement_drift` (a soft, assumed or absent constraint, drifted), `leeway.baseline_breach` (daemon mode only), `leeway.domain_unavailable`.\n- `tier` and `severity` — `A`\u002F`critical`: the workload declared a hard contract (`whenUnsatisfiable: DoNotSchedule`, required pod anti-affinity). `B`\u002F`warning`: a soft preference (`ScheduleAnyway`, preferred anti-affinity) or the assumed cluster default. `C` (`warning` or `info`): no declared constraint (surfaced with `--topology-tier-c-signals` or when leeway could attribute a cause), or a workload whose `nodeSelector` \u002F required `nodeAffinity` confines it to one domain (`selector_confined`, surfaced as `info` with `--topology-tier-c-signals`). Severity records where the expectation came from, not how exposed the workload is: a Tier B or Tier C finding with every replica in one zone is the larger outage risk.\n- `score.maxDomainShare` — the share of running replicas in the fullest domain (`1` is all of them). `observedSkew`, `minAchievableSkew`, `excessSkew`, `relocationDistance` are the arithmetic behind the verdict.\n- `intent` — where the expectation came from. `source` is one of `topology-spread-constraint`, `pod-anti-affinity-required`, `pod-anti-affinity-preferred`, `pod-affinity-required`, `pod-affinity-preferred`, `workload-annotation`, `policy-crd`, `cluster-default-declared`, `cluster-default-assumed`, `learned-baseline`; `confidence` is `declared`, `inferred`, `assumed` or `learned`; `evidence[]` quotes the constraint verbatim and anything that contradicts it. A workload finding with no `intent` key is a Tier C row whose workload had neither a declared nor an assumed constraint on this axis.\n- `domains[]` — one row per eligible zone: `actual` running replicas, `expected`, `delta`, `readyNodes`, and a `note` when the zone lost nodes. Pending replicas are not in this table.\n- `suspectedCause` — one of `constraint_ignored`, `volume_pinning`, `domain_capacity_shortfall`, `taint_exclusion`, `domain_outage`, `consolidation`, `rollout_bias`, `selector_confined`, `unknown`. `contributingFactors[]` is the evidence for and against, including the Pending count and the scheduler's own `FailedScheduling` message. `untestedCauses[]` names what a one-shot report cannot test — `rollout_bias`, when history would disambiguate it; check the rollout yourself when it matters.\n- `remediation` — `kind` is one of `manifest_patch`, `rollout_restart`, `cluster_capacity`, `cluster_nodes`, `storage_topology`; `summary` says what to do; `command` (a `kubectl rollout restart`) and `yaml` (a `topologySpreadConstraints` block) are present only for the first two kinds. The `yaml` is the spread-constraint half of a fix and nothing else — see row 1 below.\n\nTop-level and cluster keys are snake_case (`topology_findings`, `rank_findings`, `by_severity`); finding fields are camelCase.\n\n## Attributing the cause\n\nFor each workload finding on `topology.kubernetes.io\u002Fzone`, and for each zone the census marks unusable, find the row that matches what leeway printed, run its confirming read, and report the cause and remediation category the row gives. The category words are the ones the report line format uses: `scheduling`, `volume`, `capacity`, `node-pool`.\n\n| #   | What leeway printed                                                                                                                                                                                                                                                                         | Cause                                                                                                                                                                    | Confirm with                                                                                                                          | Remediation category                                                                                                                                                                                                      |\n| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| 1   | `suspectedCause: constraint_ignored`, `intent.evidence[]` carries `conflicting nodeAffinity\u002FnodeSelector on topology.kubernetes.io\u002Fzone …`, `remediation.kind: manifest_patch`                                                                                                              | **scheduling** — a required `nodeAffinity` or `nodeSelector` pins the pods to one zone while a `ScheduleAnyway` spread constraint only asks                              | the pod template's `affinity.nodeAffinity` and `nodeSelector` (read 1)                                                                | manifest: remove or widen the affinity. The `remediation.yaml` re-renders the spread constraint only; applying it alone changes nothing. Never a capacity action.                                                         |\n| 2   | `suspectedCause: constraint_ignored` without that evidence line; `remediation.kind: rollout_restart`                                                                                                                                                                                        | **scheduling** — the spread is `ScheduleAnyway`, every zone is eligible, and the scheduler placed anyway (a rollout or an earlier squeeze)                               | pods per zone (read 2) and `kubectl rollout history`                                                                                  | a rolling restart rebalances (`remediation.command`, recommend only); `DoNotSchedule` if the spread is a requirement                                                                                                      |\n| 3   | `suspectedCause: unknown`, `intent.source: cluster-default-assumed`, `remediation.kind: manifest_patch`, summary begins `Add a topologySpreadConstraint`                                                                                                                                    | **scheduling** — no spread constraint declared; the assumed scheduler default (`maxSkew: 5`) is the only expectation                                                     | the pod template has no `topologySpreadConstraints` (read 1); the census shows another zone with `usable > 0`; no zonal PVCs (read 3) | manifest: add the constraint — here `remediation.yaml` is the whole fix                                                                                                                                                   |\n| 4   | `suspectedCause: volume_pinning`, `contributingFactors[]` has `N pods pinned by zonal volumes`, `remediation.kind: storage_topology`                                                                                                                                                        | **volume** — PersistentVolumes with node affinity to one zone hold the pods there                                                                                        | the PVCs, their PVs' `spec.nodeAffinity`, and the StorageClass (read 3)                                                               | storage: regional StorageClass or volume migration. A `DoNotSchedule` spread on top of zonal volumes leaves new pods `Pending` (`VolumeNodeAffinityConflict`).                                                            |\n| 5   | `suspectedCause: domain_capacity_shortfall`, `contributingFactors[]` has `N pods Pending with FailedScheduling: … Insufficient cpu` (or memory), `remediation.kind: cluster_capacity`                                                                                                       | **capacity** — the under-filled zone has no room for the requests                                                                                                        | the Pending pods and their events (read 4); the zone's `allocatable_cpu_milli` in the census                                          | capacity: node-pool size or autoscaler limits in that zone, or smaller requests. The spread constraint is doing its job; do not edit it.                                                                                  |\n| 6   | `kind: leeway.domain_unavailable`, `suspectedCause: taint_exclusion`, census `usable: 0`, note `… none schedulable`                                                                                                                                                                         | **capacity** — every node in the zone is cordoned or carries an untolerated taint                                                                                        | node taints and `SchedulingDisabled` per zone (read 5)                                                                                | nodes: uncordon, finish the drain, or a toleration if the taint is permanent. Workloads stacked in the other zones are a consequence; no spread edit for them.                                                            |\n| 7   | `kind: leeway.domain_unavailable`, `suspectedCause: domain_outage`, census `ready: 0`, note `… none Ready`                                                                                                                                                                                  | **capacity** — the zone's nodes are present and NotReady                                                                                                                 | node conditions per zone (read 5)                                                                                                     | nodes: node health or a zone incident; same consequence rule as row 6                                                                                                                                                     |\n| 8   | `suspectedCause: selector_confined` (`tier: C`, `severity: info`, `remediation.kind: cluster_nodes`, `contributingFactors[]` has `\u003Cselector> confines placement to 1 of N usable domains …`) with `--topology-tier-c-signals` — or **nothing** when run without `--topology-tier-c-signals` | **node-pool** — the target pool (or label set) exists in one zone only; leeway honours the selector for eligibility and flags single-domain confinement at Tier C `info` | nodes per pool per zone (read 5) against the workload's selector (read 1)                                                             | node pool: add zones to the pool (`nodeLocations`) or move the workload to a multi-zone pool. Never widen the affinity onto zones where the pool has no nodes, and never a spread constraint — both leave pods `Pending`. |\n\nWith `--topology-tier-c-signals` (used above), leeway surfaces Row 8 directly as `selector_confined` (`severity: info`); always confirm with read 5 and read 1 which node pool or label confined it, and if a report ran without `--topology-tier-c-signals`, check `subjects[]` (`--all`) or read 2 by hand for workloads with all pods in one zone and no finding. `consolidation` and `rollout_bias` cannot fire in a one-shot report (both need history); the region axis has one domain on every regional cluster, so a `maxDomainShare` of `1` there means nothing.\n\nThe confirming reads:\n\n```bash\n# 1. the template's spread, affinity and selector\nkubectl get deployment \u003Cname> -n \u003Cnamespace> -o jsonpath='{.spec.template.spec.topologySpreadConstraints}{\"\\n\"}{.spec.template.spec.affinity}{\"\\n\"}{.spec.template.spec.nodeSelector}{\"\\n\"}'\n# 2. pods per zone (NODE column, then the node's zone label)\nkubectl get pods -n \u003Cnamespace> -l \u003Cselector> -o wide\n# 3. volumes: claims, the PV's node affinity, the class's topology\nkubectl get pvc -n \u003Cnamespace>\nkubectl get pv \u003Cpv-name> -o jsonpath='{.spec.nodeAffinity}{\"\\n\"}{.spec.storageClassName}{\"\\n\"}'\nkubectl get storageclass \u003Cclass> -o jsonpath='{.allowedTopologies}{\"\\n\"}{.parameters}{\"\\n\"}'\n# 4. Pending pods and the scheduler's reason\nkubectl get pods -n \u003Cnamespace> --field-selector=status.phase=Pending -o wide\nkubectl describe pod \u003Cpending-pod> -n \u003Cnamespace>\n# 5. nodes by zone and pool, with readiness and taints\nkubectl get nodes -L topology.kubernetes.io\u002Fzone,cloud.google.com\u002Fgke-nodepool\nkubectl get nodes -o custom-columns='NAME:.metadata.name,ZONE:.metadata.labels.topology\\.kubernetes\\.io\u002Fzone,UNSCHEDULABLE:.spec.unschedulable,TAINTS:.spec.taints[*].key'\n```\n\nUse `statefulset` in read 1 for a StatefulSet; its volumes come from `spec.volumeClaimTemplates`.\n\n## Blast radius\n\nFor each workload, from the zone-axis finding's `domains[]`: running replicas per zone, and the share in the fullest zone (`score.maxDomainShare`, which the rows' `actual` values reproduce). Pending replicas come from the `contributingFactors[]` line, not from the table. State it as `\u003Cn>\u002F\u003Cm> running in \u003Czone>` and as a percentage; only where the census shows at least two zones with `usable > 0` does the number describe a zone failure, so on a single-zone cluster report the census instead.\n\n## Worked example\n\n`references\u002Freport-example.json` is a four-cluster run. Reading its first cluster, `prod-central`, in the order above: `status` is `ok`; the zone census has `us-central1-a` and `us-central1-b`, both `usable: 1`; there is no Domain finding; three workload findings follow.\n\n- `Deployment\u002Fshop\u002Fcheckout-api` — `placement_drift`, Tier B. `suspectedCause: constraint_ignored`; `intent.evidence[]` quotes the `ScheduleAnyway` constraint and then `conflicting nodeAffinity\u002FnodeSelector on topology.kubernetes.io\u002Fzone restricts placement to 1 domain(s)`; `remediation.kind: manifest_patch`; `domains[]` has `actual: 2` in `us-central1-a`, `0` in `us-central1-b` with a ready node. Row 1: **scheduling**, 2\u002F2 running in `us-central1-a` (100%); the fix is the affinity, and the `yaml` block is not it.\n- `StatefulSet\u002Fshop\u002Forders-db` — `placement_drift`, Tier C, no `intent` key. `suspectedCause: volume_pinning`; `contributingFactors[]`: `2 pods pinned by zonal volumes (subject claims zone-bound volumes)`; `remediation.kind: storage_topology`. Row 4: **volume**, 2\u002F2 in `us-central1-a`; read 3 names the class.\n- `Deployment\u002Fshop\u002Fbatch-worker` — `contract_violated`, Tier A, `DoNotSchedule`. `suspectedCause: domain_capacity_shortfall`; `contributingFactors[]`: `3 pods Pending with FailedScheduling: 0\u002F2 nodes are available: 1 Insufficient cpu, 1 node(s) didn't match pod topology spread constraints.`; `remediation.kind: cluster_capacity`; `domains[]` has `actual: 1` in `us-central1-b`, `0` in `us-central1-a`. Row 5: **capacity**, 1\u002F1 running in `us-central1-b` plus 3 Pending; the constraint is correct and the zone is full.\n\nThe other clusters show the remaining rows: `prod-east`'s `Deployment\u002Fweb\u002Ffrontend-web` is row 3 (`cluster-default-assumed`, `manifest_patch`, `Add a topologySpreadConstraint …`), `prod-west` has a Domain finding for `us-west1-c` (`taint_exclusion`, census `usable: 0`), and `staging` is `status: \"error\"`. `prod-east`'s `Deployment\u002Ffinance\u002Fledger-sync` is row 8 (`selector_confined`, Tier C `info`, `cluster_nodes`: `nodeSelector cloud.google.com\u002Fgke-nodepool=finance-pool confines placement to 1 of 2 usable domains on topology.kubernetes.io\u002Fzone`; without `--topology-tier-c-signals` it has no finding).\n\n\u003C!-- shared:reading-end -->\n\n## Acting on what the sweep found\n\nThe confirming reads above run against a swept cluster as `kubectl --context=gke_\u003Cproject>_\u003Clocation>_\u003Ccluster> …`. Then, by row:\n\n- **Rows 1 and 3** are the only manifest fixes. When the request asked for the fix, open one pull request per workload via `submit-suggestion`: for row 3 the change is `remediation.yaml`; for row 1 it is the `affinity.nodeAffinity` \u002F `nodeSelector` edit, with the spread constraint left as it is or tightened to `DoNotSchedule` if the owner wants a guarantee. When the request asked for a diagnosis, the patch goes back in your reply as a recommendation (`SOUL.md` §3, item 3).\n- **Row 2** is a `kubectl rollout restart` the cluster's owner runs; quote `remediation.command` and never run it.\n- **Rows 4–8** are storage, capacity, node and node-pool changes. Report the cause and `remediation.summary`; a node-pool or StorageClass change the requester wants declared goes through `gcp-config-connector` or `gcp-terraform`, never as a pod-template edit.\n\nNever open a pull request against a workload whose finding is row 4, 5, 6, 7 or 8, and never widen a node-pool-pinned workload's affinity (row 8).\n\n## Reporting a sweep\n\nOne table per cluster that was read — workload, zone distribution, blast radius, cause row and category, remediation category — then the clusters the report could not read (`status: \"error\"`, with the `error` string), then the single-zone clusters the census ruled out. `summary.clusters_failed` above zero is a partial sweep and is said so in the first line. When the requester gave a line format for the per-workload summary, emit those lines verbatim from the table.\n","# Topology Drift (Platform Agent)\n\nUse this skill for the fleet question: which clusters have workloads that would not survive a zone failure, and why. `leeway report` reads every target cluster in one run and does the counting and the first pass at attribution; this skill is about reading what it printed, confirming it, and naming the cause and the remediation category without proposing the wrong fix. Four of the causes below take no manifest change at all, and an agent that answers every skew with a `topologySpreadConstraints` pull request sends the operator to edit a manifest that is correct.\n\n## Delegate or run\n\nPer `AGENTS.md` (\"Delegation\") single-cluster runtime debugging is the Cluster Agent's. Call `get_cluster_profile_name(project, cluster, location)` for the cluster the request names:\n\n- `exists: true` — delegate: `kanban_create(assignee=\"\u003Cprofile-name>\", title=\"Topology skew in \u003Cnamespace or cluster>\", body=\"\u003Cthe question, the namespace, and the report format the requester asked for>. Read-only.\")`. The Cluster Agent runs its own copy of this skill and completes the card with the per-workload attribution. If the request asked for a fix and the card's `metadata.proposed_patch` is a manifest change (rows 1 and 3 below), submit it via `submit-suggestion`; otherwise the RCA and the recommendation go back in your reply.\n- `exists: false`, or the request spans several clusters — run the sweep yourself, below.\n\n## Running the sweep\n\nCall the `platform_control` `fleet_scope` tool first: when it lists `excluded_clusters`, drop each one from the target triples (excluded clusters are never read, listed or reported on) and name each one as excluded and not checked.\n\n```bash\nleeway report --topology-tier-c-signals --parallelism 2 --clusters \u003Cproject>\u002F\u003Clocation>\u002F\u003Ccluster>,\u003Cproject>\u002F\u003Clocation>\u002F\u003Ccluster>\n```\n\nName every target as a `project\u002Flocation\u002Fcluster` triple (resolve them with `list_cluster_profiles`, or from the request, less any `excluded_clusters`); add `--namespace \u003Cns>` to scope every cluster to one namespace. Target clusters with `--clusters` only: inside the sandbox each triple becomes a `kubectl --context=gke_\u003Cproject>_\u003Clocation>_\u003Ccluster>` read through `\u003Cname>-kube-proxy`, and an exported single-cluster `KUBECONFIG` would omit the other contexts. `--topology-tier-c-signals` adds the unattributed Tier C rows (`suspectedCause: unknown` — workloads with no declared or assumed spread intent and no concrete cause; cause-attributed Tier C rows like `volume_pinning` already appear by default), `NodeGroup` skew rows, and `selector_confined` (`severity: info`) workloads whose `nodeSelector` or required `nodeAffinity` confines them onto a single-zone node pool; `--parallelism 2` bounds concurrent cluster snapshot reads through `\u003Cname>-kube-proxy`.\n\nThe output is one JSON document (`leeway.report\u002Fv1alpha1`) on stdout with one `clusters[]` entry per target, in the order given, and a `summary` with `clusters_total`, `clusters_succeeded`, `clusters_failed`, `topology_findings`, `by_severity` and `by_tier`. A real one, from a four-cluster sweep, is at `references\u002Freport-example.json`. If `leeway` is not on `PATH`, the sandbox image predates it: say so and stop rather than substituting a hand survey.\n\n\u003C!-- shared:reading-start -->\n\n## Reading the report\n\nRead in this order. Each step can end the analysis early, and skipping ahead to the workload findings is how a cordoned zone gets misreported as six misconfigured Deployments.\n\n1. **`clusters[].status`.** `\"error\"` carries an `error` string and nothing else: that cluster was not read, and it is reported as unscanned, never as clean.\n2. **`clusters[].domains[\"topology.kubernetes.io\u002Fzone\"]`** — the zone census, one entry per zone with `nodes`, `ready`, `usable` (Ready and schedulable) and allocatable CPU and memory. One zone: nothing can spread, say so and stop. A zone with `usable: 0` or `ready: 0`: a Domain finding (next step) explains every workload stacked in the other zones.\n3. **Findings whose `subject.kind` is `\"Domain\"`** (`kind: \"leeway.domain_unavailable\"`). A zone that is cordoned or down is the cause of the skew around it; the workloads in the remaining zones are its consequence and get no finding of their own.\n4. **Workload findings** (skipping `subject.kind == \"NodeGroup\"` rows emitted with `--topology-tier-c-signals`, which record pool-level node distribution as cluster context rather than a workload), each read in this order: `suspectedCause` → `remediation.kind` → `intent.source` and `intent.evidence[]` → `contributingFactors[]` → `domains[]`.\n\nWhat the fields are:\n\n- `kind` — `leeway.contract_violated` (a declared hard constraint is broken), `leeway.placement_drift` (a soft, assumed or absent constraint, drifted), `leeway.baseline_breach` (daemon mode only), `leeway.domain_unavailable`.\n- `tier` and `severity` — `A`\u002F`critical`: the workload declared a hard contract (`whenUnsatisfiable: DoNotSchedule`, required pod anti-affinity). `B`\u002F`warning`: a soft preference (`ScheduleAnyway`, preferred anti-affinity) or the assumed cluster default. `C` (`warning` or `info`): no declared constraint (surfaced with `--topology-tier-c-signals` or when leeway could attribute a cause), or a workload whose `nodeSelector` \u002F required `nodeAffinity` confines it to one domain (`selector_confined`, surfaced as `info` with `--topology-tier-c-signals`). Severity records where the expectation came from, not how exposed the workload is: a Tier B or Tier C finding with every replica in one zone is the larger outage risk.\n- `score.maxDomainShare` — the share of running replicas in the fullest domain (`1` is all of them). `observedSkew`, `minAchievableSkew`, `excessSkew`, `relocationDistance` are the arithmetic behind the verdict.\n- `intent` — where the expectation came from. `source` is one of `topology-spread-constraint`, `pod-anti-affinity-required`, `pod-anti-affinity-preferred`, `pod-affinity-required`, `pod-affinity-preferred`, `workload-annotation`, `policy-crd`, `cluster-default-declared`, `cluster-default-assumed`, `learned-baseline`; `confidence` is `declared`, `inferred`, `assumed` or `learned`; `evidence[]` quotes the constraint verbatim and anything that contradicts it. A workload finding with no `intent` key is a Tier C row whose workload had neither a declared nor an assumed constraint on this axis.\n- `domains[]` — one row per eligible zone: `actual` running replicas, `expected`, `delta`, `readyNodes`, and a `note` when the zone lost nodes. Pending replicas are not in this table.\n- `suspectedCause` — one of `constraint_ignored`, `volume_pinning`, `domain_capacity_shortfall`, `taint_exclusion`, `domain_outage`, `consolidation`, `rollout_bias`, `selector_confined`, `unknown`. `contributingFactors[]` is the evidence for and against, including the Pending count and the scheduler's own `FailedScheduling` message. `untestedCauses[]` names what a one-shot report cannot test — `rollout_bias`, when history would disambiguate it; check the rollout yourself when it matters.\n- `remediation` — `kind` is one of `manifest_patch`, `rollout_restart`, `cluster_capacity`, `cluster_nodes`, `storage_topology`; `summary` says what to do; `command` (a `kubectl rollout restart`) and `yaml` (a `topologySpreadConstraints` block) are present only for the first two kinds. The `yaml` is the spread-constraint half of a fix and nothing else — see row 1 below.\n\nTop-level and cluster keys are snake_case (`topology_findings`, `rank_findings`, `by_severity`); finding fields are camelCase.\n\n## Attributing the cause\n\nFor each workload finding on `topology.kubernetes.io\u002Fzone`, and for each zone the census marks unusable, find the row that matches what leeway printed, run its confirming read, and report the cause and remediation category the row gives. The category words are the ones the report line format uses: `scheduling`, `volume`, `capacity`, `node-pool`.\n\n| #   | What leeway printed                                                                                                                                                                                                                                                                         | Cause                                                                                                                                                                    | Confirm with                                                                                                                          | Remediation category                                                                                                                                                                                                      |\n| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| 1   | `suspectedCause: constraint_ignored`, `intent.evidence[]` carries `conflicting nodeAffinity\u002FnodeSelector on topology.kubernetes.io\u002Fzone …`, `remediation.kind: manifest_patch`                                                                                                              | **scheduling** — a required `nodeAffinity` or `nodeSelector` pins the pods to one zone while a `ScheduleAnyway` spread constraint only asks                              | the pod template's `affinity.nodeAffinity` and `nodeSelector` (read 1)                                                                | manifest: remove or widen the affinity. The `remediation.yaml` re-renders the spread constraint only; applying it alone changes nothing. Never a capacity action.                                                         |\n| 2   | `suspectedCause: constraint_ignored` without that evidence line; `remediation.kind: rollout_restart`                                                                                                                                                                                        | **scheduling** — the spread is `ScheduleAnyway`, every zone is eligible, and the scheduler placed anyway (a rollout or an earlier squeeze)                               | pods per zone (read 2) and `kubectl rollout history`                                                                                  | a rolling restart rebalances (`remediation.command`, recommend only); `DoNotSchedule` if the spread is a requirement                                                                                                      |\n| 3   | `suspectedCause: unknown`, `intent.source: cluster-default-assumed`, `remediation.kind: manifest_patch`, summary begins `Add a topologySpreadConstraint`                                                                                                                                    | **scheduling** — no spread constraint declared; the assumed scheduler default (`maxSkew: 5`) is the only expectation                                                     | the pod template has no `topologySpreadConstraints` (read 1); the census shows another zone with `usable > 0`; no zonal PVCs (read 3) | manifest: add the constraint — here `remediation.yaml` is the whole fix                                                                                                                                                   |\n| 4   | `suspectedCause: volume_pinning`, `contributingFactors[]` has `N pods pinned by zonal volumes`, `remediation.kind: storage_topology`                                                                                                                                                        | **volume** — PersistentVolumes with node affinity to one zone hold the pods there                                                                                        | the PVCs, their PVs' `spec.nodeAffinity`, and the StorageClass (read 3)                                                               | storage: regional StorageClass or volume migration. A `DoNotSchedule` spread on top of zonal volumes leaves new pods `Pending` (`VolumeNodeAffinityConflict`).                                                            |\n| 5   | `suspectedCause: domain_capacity_shortfall`, `contributingFactors[]` has `N pods Pending with FailedScheduling: … Insufficient cpu` (or memory), `remediation.kind: cluster_capacity`                                                                                                       | **capacity** — the under-filled zone has no room for the requests                                                                                                        | the Pending pods and their events (read 4); the zone's `allocatable_cpu_milli` in the census                                          | capacity: node-pool size or autoscaler limits in that zone, or smaller requests. The spread constraint is doing its job; do not edit it.                                                                                  |\n| 6   | `kind: leeway.domain_unavailable`, `suspectedCause: taint_exclusion`, census `usable: 0`, note `… none schedulable`                                                                                                                                                                         | **capacity** — every node in the zone is cordoned or carries an untolerated taint                                                                                        | node taints and `SchedulingDisabled` per zone (read 5)                                                                                | nodes: uncordon, finish the drain, or a toleration if the taint is permanent. Workloads stacked in the other zones are a consequence; no spread edit for them.                                                            |\n| 7   | `kind: leeway.domain_unavailable`, `suspectedCause: domain_outage`, census `ready: 0`, note `… none Ready`                                                                                                                                                                                  | **capacity** — the zone's nodes are present and NotReady                                                                                                                 | node conditions per zone (read 5)                                                                                                     | nodes: node health or a zone incident; same consequence rule as row 6                                                                                                                                                     |\n| 8   | `suspectedCause: selector_confined` (`tier: C`, `severity: info`, `remediation.kind: cluster_nodes`, `contributingFactors[]` has `\u003Cselector> confines placement to 1 of N usable domains …`) with `--topology-tier-c-signals` — or **nothing** when run without `--topology-tier-c-signals` | **node-pool** — the target pool (or label set) exists in one zone only; leeway honours the selector for eligibility and flags single-domain confinement at Tier C `info` | nodes per pool per zone (read 5) against the workload's selector (read 1)                                                             | node pool: add zones to the pool (`nodeLocations`) or move the workload to a multi-zone pool. Never widen the affinity onto zones where the pool has no nodes, and never a spread constraint — both leave pods `Pending`. |\n\nWith `--topology-tier-c-signals` (used above), leeway surfaces Row 8 directly as `selector_confined` (`severity: info`); always confirm with read 5 and read 1 which node pool or label confined it, and if a report ran without `--topology-tier-c-signals`, check `subjects[]` (`--all`) or read 2 by hand for workloads with all pods in one zone and no finding. `consolidation` and `rollout_bias` cannot fire in a one-shot report (both need history); the region axis has one domain on every regional cluster, so a `maxDomainShare` of `1` there means nothing.\n\nThe confirming reads:\n\n```bash\n# 1. the template's spread, affinity and selector\nkubectl get deployment \u003Cname> -n \u003Cnamespace> -o jsonpath='{.spec.template.spec.topologySpreadConstraints}{\"\\n\"}{.spec.template.spec.affinity}{\"\\n\"}{.spec.template.spec.nodeSelector}{\"\\n\"}'\n# 2. pods per zone (NODE column, then the node's zone label)\nkubectl get pods -n \u003Cnamespace> -l \u003Cselector> -o wide\n# 3. volumes: claims, the PV's node affinity, the class's topology\nkubectl get pvc -n \u003Cnamespace>\nkubectl get pv \u003Cpv-name> -o jsonpath='{.spec.nodeAffinity}{\"\\n\"}{.spec.storageClassName}{\"\\n\"}'\nkubectl get storageclass \u003Cclass> -o jsonpath='{.allowedTopologies}{\"\\n\"}{.parameters}{\"\\n\"}'\n# 4. Pending pods and the scheduler's reason\nkubectl get pods -n \u003Cnamespace> --field-selector=status.phase=Pending -o wide\nkubectl describe pod \u003Cpending-pod> -n \u003Cnamespace>\n# 5. nodes by zone and pool, with readiness and taints\nkubectl get nodes -L topology.kubernetes.io\u002Fzone,cloud.google.com\u002Fgke-nodepool\nkubectl get nodes -o custom-columns='NAME:.metadata.name,ZONE:.metadata.labels.topology\\.kubernetes\\.io\u002Fzone,UNSCHEDULABLE:.spec.unschedulable,TAINTS:.spec.taints[*].key'\n```\n\nUse `statefulset` in read 1 for a StatefulSet; its volumes come from `spec.volumeClaimTemplates`.\n\n## Blast radius\n\nFor each workload, from the zone-axis finding's `domains[]`: running replicas per zone, and the share in the fullest zone (`score.maxDomainShare`, which the rows' `actual` values reproduce). Pending replicas come from the `contributingFactors[]` line, not from the table. State it as `\u003Cn>\u002F\u003Cm> running in \u003Czone>` and as a percentage; only where the census shows at least two zones with `usable > 0` does the number describe a zone failure, so on a single-zone cluster report the census instead.\n\n## Worked example\n\n`references\u002Freport-example.json` is a four-cluster run. Reading its first cluster, `prod-central`, in the order above: `status` is `ok`; the zone census has `us-central1-a` and `us-central1-b`, both `usable: 1`; there is no Domain finding; three workload findings follow.\n\n- `Deployment\u002Fshop\u002Fcheckout-api` — `placement_drift`, Tier B. `suspectedCause: constraint_ignored`; `intent.evidence[]` quotes the `ScheduleAnyway` constraint and then `conflicting nodeAffinity\u002FnodeSelector on topology.kubernetes.io\u002Fzone restricts placement to 1 domain(s)`; `remediation.kind: manifest_patch`; `domains[]` has `actual: 2` in `us-central1-a`, `0` in `us-central1-b` with a ready node. Row 1: **scheduling**, 2\u002F2 running in `us-central1-a` (100%); the fix is the affinity, and the `yaml` block is not it.\n- `StatefulSet\u002Fshop\u002Forders-db` — `placement_drift`, Tier C, no `intent` key. `suspectedCause: volume_pinning`; `contributingFactors[]`: `2 pods pinned by zonal volumes (subject claims zone-bound volumes)`; `remediation.kind: storage_topology`. Row 4: **volume**, 2\u002F2 in `us-central1-a`; read 3 names the class.\n- `Deployment\u002Fshop\u002Fbatch-worker` — `contract_violated`, Tier A, `DoNotSchedule`. `suspectedCause: domain_capacity_shortfall`; `contributingFactors[]`: `3 pods Pending with FailedScheduling: 0\u002F2 nodes are available: 1 Insufficient cpu, 1 node(s) didn't match pod topology spread constraints.`; `remediation.kind: cluster_capacity`; `domains[]` has `actual: 1` in `us-central1-b`, `0` in `us-central1-a`. Row 5: **capacity**, 1\u002F1 running in `us-central1-b` plus 3 Pending; the constraint is correct and the zone is full.\n\nThe other clusters show the remaining rows: `prod-east`'s `Deployment\u002Fweb\u002Ffrontend-web` is row 3 (`cluster-default-assumed`, `manifest_patch`, `Add a topologySpreadConstraint …`), `prod-west` has a Domain finding for `us-west1-c` (`taint_exclusion`, census `usable: 0`), and `staging` is `status: \"error\"`. `prod-east`'s `Deployment\u002Ffinance\u002Fledger-sync` is row 8 (`selector_confined`, Tier C `info`, `cluster_nodes`: `nodeSelector cloud.google.com\u002Fgke-nodepool=finance-pool confines placement to 1 of 2 usable domains on topology.kubernetes.io\u002Fzone`; without `--topology-tier-c-signals` it has no finding).\n\n\u003C!-- shared:reading-end -->\n\n## Acting on what the sweep found\n\nThe confirming reads above run against a swept cluster as `kubectl --context=gke_\u003Cproject>_\u003Clocation>_\u003Ccluster> …`. Then, by row:\n\n- **Rows 1 and 3** are the only manifest fixes. When the request asked for the fix, open one pull request per workload via `submit-suggestion`: for row 3 the change is `remediation.yaml`; for row 1 it is the `affinity.nodeAffinity` \u002F `nodeSelector` edit, with the spread constraint left as it is or tightened to `DoNotSchedule` if the owner wants a guarantee. When the request asked for a diagnosis, the patch goes back in your reply as a recommendation (`SOUL.md` §3, item 3).\n- **Row 2** is a `kubectl rollout restart` the cluster's owner runs; quote `remediation.command` and never run it.\n- **Rows 4–8** are storage, capacity, node and node-pool changes. Report the cause and `remediation.summary`; a node-pool or StorageClass change the requester wants declared goes through `gcp-config-connector` or `gcp-terraform`, never as a pod-template edit.\n\nNever open a pull request against a workload whose finding is row 4, 5, 6, 7 or 8, and never widen a node-pool-pinned workload's affinity (row 8).\n\n## Reporting a sweep\n\nOne table per cluster that was read — workload, zone distribution, blast radius, cause row and category, remediation category — then the clusters the report could not read (`status: \"error\"`, with the `error` string), then the single-zone clusters the census ruled out. `summary.clusters_failed` above zero is a partial sweep and is said so in the first line. When the requester gave a line format for the per-workload summary, emit those lines verbatim from the table.\n",{"name":5,"description":7},"main","af354bf2b99e17df77e52c512a7ba968c37c2306","agents\u002Fplatform\u002Fskills\u002Ftopology-drift",44,"https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents","https:\u002F\u002Fgke-labs.github.io\u002Fkube-agents\u002F","https:\u002F\u002Fgithub.com\u002Fgke-labs","2026-11-14 20:53:19",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add gke-labs\u002Fkube-agents --skill topology-drift",{"tool":37,"command":38},"bunx","bunx skills add gke-labs\u002Fkube-agents --skill topology-drift",{"tool":40,"command":41},"pnpm","pnpm dlx skills add gke-labs\u002Fkube-agents --skill topology-drift","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Ftopology-drift\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Freport-example.json","REFERENCE","参考文档",15853,"https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Ftopology-drift\u002Freferences\u002Freport-example.json",[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M72168JZM6CYRZFWW204PA2V","gke-workload-troubleshooting","Diagnoses GKE workload failures (CrashLoopBackOff, OOMKilled, ImagePullBackOff, Pending, etc.) via logs and events. Use when pods fail to start or crash repeatedly. Don't use for GKE cluster infrastructure provisioning, node pool creation, or non-Kubernetes Google Cloud services.","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-troubleshooting\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M721643JPG43MFDHGN067D7T","gke-workload-security","Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running security audits (`audit_cluster.sh`), enforcing Network Policies (default-deny and Dataplane V2 logging), isolating high-risk pods inside GKE Sandbox (`gVisor`), enforcing Pod Security Standards (`restricted` labeling) and pod securityContext, and mounting Secret Manager secrets via CSI (`SecretProviderClass`). Use when auditing workload security posture, isolating namespaces, applying pod security standards, or configuring network policies and secret volume mounts. Don't use for Workload Identity (use gke-workload-identity), cluster-wide control plane security, RBAC hardening, Binary Authorization, Shielded Nodes, or enabling platform-level GKE add-ons (use gke-platform-security instead).","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-security\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M721618QGFKZRWHS0RFVG7WT","gke-workload-scaling","Manages scaling for GKE workloads using HPA and VPA. Use when configuring Horizontal Pod Autoscaler (HPA), configuring Vertical Pod Autoscaler (VPA), or applying best practices for GKE workload autoscaling. Do not use for cluster-level autoscaling (Cluster Autoscaler), static cluster sizing, or configuring node-level machine styles directly.","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-scaling\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7215WA1TNFDZE22VJEN3XXW","gke-workload-identity","Configures and diagnoses Workload Identity Federation for GKE authentication failures for Pods (403 \"iam.serviceAccounts.getAccessToken\" \u002F permission denied, \"could not find default credentials\", or GKE metadata server unreachable) by verifying cluster and node-pool Workload Identity configuration, the Kubernetes ServiceAccount (KSA) to IAM binding (direct principal binding and legacy Google ServiceAccount impersonation), target-resource IAM roles, and gke-metadata-server health. Use when setting up KSA\u002FGSA bindings (`roles\u002Fiam.workloadIdentityUser`, `iam.gke.io\u002Fgcp-service-account`) or when a Pod cannot authenticate to Google Cloud APIs. Don't use for in-cluster Kubernetes RBAC errors (API-server authorization), general workload crashes (use gke-workload-troubleshooting), or Pod Security Standards and NetworkPolicies (use gke-workload-security).","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-identity\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M7215PJTBTZ0W15ZZ2W32FF9","gke-upgrades","Plans, executes, and validates Google Kubernetes Engine (GKE) cluster upgrades and maintenance operations for both Standard and Autopilot clusters. Produces upgrade plans, pre\u002Fpost-upgrade checklists, maintenance runbooks with gcloud commands, release channel strategy, and troubleshooting guides. Handles node pool upgrade strategies (surge, blue-green), version compatibility, PDB management, and workload-specific concerns (stateful, GPU, operators). Use this skill whenever the user mentions GKE upgrades, Kubernetes version bumps, node pool maintenance, GKE patching, cluster version management, release channel selection, maintenance windows, surge upgrades, stuck upgrades, or any GKE lifecycle management task — even casual mentions like \"we need to upgrade our clusters\" or \"plan our next GKE maintenance\" or \"our upgrade is stuck.\" Don't use for GKE cluster creation, application onboarding, general networking\u002Frouting setup, or security policy configurations (use gke-basics or relevant GKE skills instead).","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-upgrades\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":18},"01M7215JX0FBZBTG4570CJ20HS","gke-tpu-metrics-monitoring","Monitors and troubleshoots GKE TPU workloads, nodes, and node pools using GKE system metrics and PromQL. Use when monitoring TensorCore duty cycle, TPU memory, node readiness, multi-host TPU node pool availability, host maintenance or preemption interruptions, and calculating MTTR or MTBI metrics for GKE TPUs. Don't use for general non-TPU GKE workload monitoring or non-metric TPU debugging.","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-tpu-metrics-monitoring\u002FSKILL.md",[],[]]