[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699355JAT7QAZAKEQA3YARG":3,"skill-same:01M699355JAT7QAZAKEQA3YARG":106},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":53,"linkOnly":54,"markdownContent":55,"markdownBody":56,"frontMatter":57,"refName":61,"commitSha":62,"skillDirectory":63,"forksCount":64,"repositoryHtmlUrl":65,"repositoryHomepageUrl":17,"ownerHtmlUrl":66,"ownerBlogUrl":67,"ownerDescription":68,"updatedAt":69,"install":70,"resources":83},"01M699355JAT7QAZAKEQA3YARG","gke-ai-troubleshooting-tpu-performance-degradation","GKE TPU 训练性能下降诊断","Diagnose GKE Cloud TPU training throughput drops and step-time regressions (15%+ TPU duty-cycle drop) using ML Diagnostics Workload Monitoring (`gcloud alpha mldiagnostics monitored-events` \u002F `hypercomputecluster.googleapis.com\u002Fv1alpha`) and 1-minute Cloud Monitoring system metrics (`kubernetes.io\u002Fnode\u002Faccelerator\u002F*`). Distinguishes hardware and network fabric throttling from workload resource bottlenecks (HBM capacity, host memory, or host CPU saturation). Use when TPU training throughput or duty cycle drops without crashing pods, when `PERFORMANCE_DEGRADATION` monitored events fire, or when triaging slow multi-slice training steps. Don't use for complete multi-slice XLA execution stalls with `HANG_DETECTED` logs (use gke-ai-troubleshooting-tpu-mxla-hang) or pod eviction\u002Finterruption restarts (use gke-ai-troubleshooting-jobset-interruption).","使用 ML Diagnostics 工作负载监控（`gcloud alpha mldiagnostics monitored-events` \u002F `hypercomputecluster.googleapis.com\u002Fv1alpha`）和 1 分钟粒度 Cloud Monitoring 系统指标（`kubernetes.io\u002Fnode\u002Faccelerator\u002F*`），诊断 GKE Cloud TPU 训练吞吐量下降和步时间回归（TPU 占用率下降 15% 以上）。区分硬件和网络结构限流与工作负载资源瓶颈（HBM 容量、主机内存或主机 CPU 饱和）。适用于 TPU 训练吞吐量或占用率下降但 Pod 未崩溃、`PERFORMANCE_DEGRADATION` 监控事件触发，或对多切片训练步数变慢进行分类研判时。不适用于带有 `HANG_DETECTED` 日志的多切片 XLA 完全执行停顿（使用 gke-ai-troubleshooting-tpu-mxla-hang）或 Pod 驱逐\u002F中断重启（使用 gke-ai-troubleshooting-jobset-interruption）。","google\u002Fskills","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M698WR0H76ENHE587T9EJT89",24235,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgke-ai-troubleshooting-tpu-performance-degradation\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRSRYQ3M8N5063NNQPF2B1","调试与故障排查","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],"performance","gke ai troubleshooting tpu performance degradation","tpu","degradation","gke","troubleshooting","when","gcloud","CPU","io","host","time","drop","cycle","saturation","node","monitoring","logs","alpha","training","memory","kubernetes","2026-11-10 10:12:30",false,"---\nname: gke-ai-troubleshooting-tpu-performance-degradation\ndescription: >-\n  Diagnose GKE Cloud TPU training throughput drops and step-time regressions\n  (15%+ TPU duty-cycle drop) using ML Diagnostics Workload Monitoring (`gcloud\n  alpha mldiagnostics monitored-events` \u002F\n  `hypercomputecluster.googleapis.com\u002Fv1alpha`) and 1-minute Cloud Monitoring\n  system metrics (`kubernetes.io\u002Fnode\u002Faccelerator\u002F*`). Distinguishes hardware\n  and network fabric throttling from workload resource bottlenecks (HBM\n  capacity, host memory, or host CPU saturation). Use when TPU training\n  throughput or duty cycle drops without crashing pods, when\n  `PERFORMANCE_DEGRADATION` monitored events fire, or when triaging slow\n  multi-slice training steps. Don't use for complete multi-slice XLA execution\n  stalls with `HANG_DETECTED` logs (use gke-ai-troubleshooting-tpu-mxla-hang) or\n  pod eviction\u002Finterruption restarts (use\n  gke-ai-troubleshooting-jobset-interruption).\nmetadata:\n  version: \"1.0.1\"\n  category: AiAndMachineLearning\n---\n\n# Troubleshoot GKE TPU performance degradation with ML Diagnostics Workload Monitoring\n\nDiagnose and mitigate Cloud TPU training throughput drops and step-time\nregressions (`15%+` drop in TPU duty cycle) on Google Kubernetes Engine (GKE) by\ncorrelating **ML Diagnostics Workload Monitoring** `MonitoredEvent` analyzer\nreports with **1-minute Cloud Monitoring system metrics** and GKE node topology\nlabels.\n\n---\n\n## Attribution\n\n**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you\nMUST read [Usage Attribution](references\u002Fattribution.md). For commands executed\ndirectly in the terminal (never in generated scripts, Terraform, or user code),\nprefix `gcloud` with\n`CLOUDSDK_METRICS_REQUEST_ATTRIBUTION=\"agent-skills\u002F1.0 (skill:gke-ai-troubleshooting-tpu-performance-degradation)\"`\nand append `agent-skills\u002F1.0 (skill:gke-ai-troubleshooting-tpu-performance-degradation)` to `User-Agent` headers.\n\n## Prerequisites\n\n- **Tools**: Install the\n  [Google Cloud SDK](https:\u002F\u002Fcloud.google.com\u002Fsdk\u002Fdocs\u002Finstall) (`gcloud` with\n  `alpha` component for `gcloud alpha mldiagnostics`) and `kubectl`.\n- **Cloud Billing & Project Configuration**: Verify an active billing account is\n  linked (`gcloud billing projects describe {project_id}`), authenticate\n  (`gcloud auth login`), set the target project (`gcloud config set project\n  {project_id}`), and ensure `container.googleapis.com`,\n  `monitoring.googleapis.com`, and `hypercomputecluster.googleapis.com` are\n  enabled.\n- **Supported workloads and GKE versions**: Google Cloud ML Diagnostics only\n  supports JAX on TPUs (see\n  [ML Diagnostics platform](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Foverview.md.txt)).\n  Workload Monitoring is enabled by default, supports the `jobset` and `job` GKE\n  job types, and is compatible with GKE versions `1.36.0-gke.4681000` and later,\n  as stated in\n  [Configure GKE for ML Diagnostics](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fgke.md.txt).\n  If a workload uses another framework (such as PyTorch) or another custom\n  resource type, `gcloud alpha mldiagnostics` won't list ML runs or monitored\n  events for it. On-demand profiling (Step 4 Path A) additionally requires the\n  cluster setup described in that document.\n- **Required IAM Roles**:\n  - Cluster Director Editor (`roles\u002Fhypercomputecluster.editor`), the role\n    listed in the \"IAM permissions\" section of\n    [ML Diagnostics platform](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Foverview.md.txt),\n    for the ML Diagnostics CLI and API calls in this skill (ML runs, monitored\n    events, and on-demand profiler sessions)\n  - Monitoring Viewer (`roles\u002Fmonitoring.viewer`) for the PromQL queries in Step\n    2\n  - Kubernetes Engine Viewer (`roles\u002Fcontainer.viewer`) for the `kubectl get\n    nodes` query in Step 3\n  - For remediation (`[High Risk]` steps): Kubernetes Engine Cluster Admin\n    (`roles\u002Fcontainer.clusterAdmin`)\n- **Reference Documentation**:\n  - [ML Diagnostics platform](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Foverview.md.txt)\n    (Sections: \"IAM permissions\")\n  - [Configure GKE for ML Diagnostics](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fgke.md.txt)\n    (Sections: \"Set up with gcloud CLI, Google Cloud console, or Terraform\",\n    \"Manual installation\", \"Connection-operator\")\n  - [Workload monitoring with ML Diagnostics](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fworkload-monitoring.md.txt)\n    (Sections: \"Workload Monitoring and analyzers\", \"HBM Capacity Analyzer\",\n    \"Host Memory Utilization Analyzer\", \"CPU Utilization Analyzer\", \"Access\n    Workload Monitoring information through the API\", \"List all monitored\n    events\", \"System Metrics\")\n  - [Get started with the ML Diagnostics CLI](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fcli.md.txt)\n    (Sections: \"List machine learning runs\", \"Monitored-events commands\", \"List\n    profiler targets\", \"Capture on-demand profiler sessions\")\n  - [Scale container resource requests and limits](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fvertical-pod-autoscaling.md.txt)\n    (Sections: \"Identify workloads without resource requests or limits\")\n  - [Auto-repair nodes](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fnode-auto-repair.md.txt)\n    (Sections: \"Repair criteria\", \"Verify node auto-repair is enabled for a\n    Standard node pool\", \"Enable auto-repair for an existing Standard node\n    pool\", \"Node auto repair in TPU slice nodes\")\n  - [Deploy TPU workloads in GKE Standard](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Ftpus.md.txt)\n    (Sections: \"Configure auto repair for TPU slice nodes\")\n  - [Get support](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fgetting-support.md.txt)\n    (Sections: \"Before you contact support\")\n\n> **Read-only rule**: Run read-only diagnostic commands only. Never drain,\n> delete, or re-create nodes, or run any other command that changes the cluster.\n> Give the user any fix to apply themselves.\n\nWhen you recommend a fix, link the doc section that describes it.\n\n---\n\n## Analyzer routing overview\n\nBy default, Workload Monitoring treats a 15% drop in TPU duty cycle as a\nperformance degradation, raises a `MonitoredEvent` (`type:\nPERFORMANCE_DEGRADATION`), and runs its analyzers. Consult the\n[Workload Monitoring and analyzers](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fworkload-monitoring.md.txt)\nsection in the official Cloud TPU documentation for the complete analyzer\ndefinitions, detection criteria, and subsections, and route remediation by\ncategory:\n\n- **Category A: workload resource bottlenecks (never cordon or replace nodes)**:\n  - When the firing analyzer (`detectionState: \"DETECTED\"`) indicates a workload\n    memory or host CPU capacity bottleneck (see the \"HBM Capacity Analyzer\",\n    \"Host Memory Utilization Analyzer\", and \"CPU Utilization Analyzer\" sections\n    of\n    [Workload monitoring with ML Diagnostics](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fworkload-monitoring.md.txt)),\n    route to\n    [Path A: Workload resource bottlenecks](references\u002Fpath-a-workload-bottlenecks.md)\n    (workload optimization and profiling).\n- **Category B: infrastructure and network fabric throttling (culprit nodes)**:\n  - When the firing analyzer (`detectionState: \"DETECTED\"`) indicates an\n    interconnect, thermal\u002Fpower throttling, memory bandwidth, or Top-of-Rack\n    (ToR) network fault on specific instances (see\n    [Workload Monitoring and analyzers](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fworkload-monitoring.md.txt)),\n    route to\n    [Path B: Infrastructure or network fabric throttling](references\u002Fpath-b-infrastructure-throttling.md)\n    (map the culprit Compute Engine instance IDs to GKE nodes, handle node\n    repair through GKE, and escalate to Google Cloud Support).\n- **Category C: `PERFORMANCE_DEGRADATION` event fired, but no analyzer reports\n  `detectionState: \"DETECTED\"`**:\n  - When a `PERFORMANCE_DEGRADATION` event exists (as in the sample output in\n    [List all monitored events](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fworkload-monitoring.md.txt),\n    where `analyzerReports` entries have `detectionState: \"NOT_DETECTED\"`),\n    route to\n    [Path C: Event fired with no DETECTED analyzer](references\u002Fpath-c-no-detected-analyzer.md).\n\n---\n\n## Diagnostic workflow\n\n### Step 0: Collect context and set the investigation window `[Low Risk]`\n\nCollect the target parameters. By default, query a 60-minute window `[T - 30m, T\n+ 30m]` around `{issue_time}`:\n\n- `{project_id}`: Google Cloud project ID\n- `{location}`: Google Cloud region where the ML run and GKE cluster reside (for\n  example, `us-central1`)\n- `{cluster_name}`: GKE cluster name\n- `{workload_name}` \u002F `{ml_run_id}`: JobSet \u002F workload name or ML Diagnostics\n  run ID\n- `{issue_time}`: Timestamp when throughput degradation was observed (`T`,\n  ISO-8601 UTC)\n- `{start_time}`: `T - 30m`\n- `{end_time}`: `T + 30m`\n\n---\n\n### Step 1: Query ML runs and `monitoredEvents` `[Low Risk]`\n\n1. **List active or recent ML runs**: Give the user `gcloud alpha mldiagnostics\n   machine-learning-run list` with a link to\n   [List machine learning runs](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fcli.md.txt)\n   in the ML Diagnostics CLI reference, and locate `{ml_run_id}` matching\n   `{workload_name}`.\n2. **List performance degradation events**: Give the user `gcloud alpha\n   mldiagnostics monitored-events list` with a link to\n   [Monitored-events commands](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fcli.md.txt),\n   or the `hypercomputecluster.googleapis.com\u002Fv1alpha` API with a link to\n   [Access Workload Monitoring information through the API](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fworkload-monitoring.md.txt),\n   to check for `PERFORMANCE_DEGRADATION` events during `[{start_time},\n   {end_time}]`.\n3. **Describe the `MonitoredEvent`**: Give the user `gcloud alpha mldiagnostics\n   monitored-events describe` with a link to the same\n   [Monitored-events commands](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fcli.md.txt)\n   section, and inspect the `analyzerReports` array (`analyzer`,\n   `detectionState`, `details`, and `recommendedActions`).\n   - If a `PERFORMANCE_DEGRADATION` event fired, run Step 2 to corroborate with\n     the 1-minute system metrics; if none of its `analyzerReports` entries has\n     `detectionState: \"DETECTED\"`, follow\n     [Path C: Event fired with no DETECTED analyzer](references\u002Fpath-c-no-detected-analyzer.md).\n   - If no `PERFORMANCE_DEGRADATION` event exists and duty cycle is steady in\n     Step 2, **rule out** TPU performance degradation by following\n     [Path D: Healthy telemetry](references\u002Fpath-d-healthy-telemetry.md).\n\n---\n\n### Step 2: Correlate with 1-minute Cloud Monitoring system metrics `[Low Risk]`\n\nConsult the\n[System Metrics](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fworkload-monitoring.md.txt)\nsection in the Workload Monitoring documentation for the 1-minute Cloud\nMonitoring metrics exported for TPU and host devices, and run read-only PromQL\nqueries over `[{start_time}, {end_time}]` to corroborate the analyzer report:\n\n```promql\n# 1. Node TPU duty cycle (look for the drop on the affected nodes)\nkubernetes_io:node_accelerator_duty_cycle{\n  monitored_resource=\"k8s_node\",\n  project_id=\"{project_id}\",\n  cluster_name=\"{cluster_name}\"\n}\n\n# 2. HBM utilization ratio by node (around 0.90 is approaching the limit)\nsum by (node_name) (\n  kubernetes_io:node_accelerator_memory_used{\n    monitored_resource=\"k8s_node\",\n    project_id=\"{project_id}\",\n    cluster_name=\"{cluster_name}\"\n  }\n)\n\u002F\nsum by (node_name) (\n  kubernetes_io:node_accelerator_memory_total{\n    monitored_resource=\"k8s_node\",\n    project_id=\"{project_id}\",\n    cluster_name=\"{cluster_name}\"\n  }\n)\n\n# 3. Host memory and CPU allocatable utilization\nkubernetes_io:node_memory_allocatable_utilization{\n  monitored_resource=\"k8s_node\",\n  project_id=\"{project_id}\",\n  cluster_name=\"{cluster_name}\"\n}\n\nkubernetes_io:node_cpu_allocatable_utilization{\n  monitored_resource=\"k8s_node\",\n  project_id=\"{project_id}\",\n  cluster_name=\"{cluster_name}\"\n}\n```\n\n---\n\n### Step 3: Map culprit instance IDs to GKE nodes and topology `[Low Risk]`\n\nWhen an infrastructure analyzer reports culprit numeric Compute Engine instance\nIDs in `details` or `recommendedActions`, map those numeric instance IDs to GKE\n`Node` names and physical topology blocks using this read-only `kubectl` query\ninspecting `container.googleapis.com\u002Finstance_id`:\n\n```bash\nkubectl get nodes -l cloud.google.com\u002Fgke-tpu-accelerator \\\n  -o jsonpath='{range .items[*]}{.metadata.name}{\"\\tinstance_id=\"}{.metadata.annotations.container\\.googleapis\\.com\u002Finstance_id}{\"\\tblock=\"}{.metadata.labels.cloud\\.google\\.com\u002Fgce-topology-block}{\"\\tsubblock=\"}{.metadata.labels.cloud\\.google\\.com\u002Fgce-topology-subblock}{\"\\thost=\"}{.metadata.labels.cloud\\.google\\.com\u002Fgce-topology-host}{\"\\n\"}{end}'\n```\n\n---\n\n### Step 4: Remediation by analyzer category\n\nLoad and follow only the reference file that matches the analyzer category from\nStep 1:\n\n- **Path A (workload resource bottlenecks — HBM, host memory, or host CPU\n  utilization)**: Read\n  [Path A: Workload resource bottlenecks](references\u002Fpath-a-workload-bottlenecks.md).\n- **Path B (infrastructure, thermal, ICI, memory bandwidth, or network fabric\n  throttling)**: Read\n  [Path B: Infrastructure or network fabric throttling](references\u002Fpath-b-infrastructure-throttling.md).\n- **Path C (`PERFORMANCE_DEGRADATION` event fired with all analyzers\n  `NOT_DETECTED`)**: Read\n  [Path C: Event fired with no DETECTED analyzer](references\u002Fpath-c-no-detected-analyzer.md).\n- **Path D (no `PERFORMANCE_DEGRADATION` events and steady telemetry)**: Read\n  [Path D: Healthy telemetry](references\u002Fpath-d-healthy-telemetry.md).\n\n---\n\n## Guardrails\n\n1. **Never change GKE-managed instance groups or VMs through Compute Engine**:\n   Don't run `gcloud compute instance-groups managed` commands, such as\n   `delete`, on a node pool's managed instance group. Handle nodes through GKE,\n   as described in\n   [Path B: Infrastructure or network fabric throttling](references\u002Fpath-b-infrastructure-throttling.md).\n2. **Never cordon nodes for workload resource saturation**: If only the HBM\n   capacity, host memory, or host CPU utilization analyzers detected an issue,\n   don't cordon or replace nodes.\n","# Troubleshoot GKE TPU performance degradation with ML Diagnostics Workload Monitoring\n\nDiagnose and mitigate Cloud TPU training throughput drops and step-time\nregressions (`15%+` drop in TPU duty cycle) on Google Kubernetes Engine (GKE) by\ncorrelating **ML Diagnostics Workload Monitoring** `MonitoredEvent` analyzer\nreports with **1-minute Cloud Monitoring system metrics** and GKE node topology\nlabels.\n\n---\n\n## Attribution\n\n**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you\nMUST read [Usage Attribution](references\u002Fattribution.md). For commands executed\ndirectly in the terminal (never in generated scripts, Terraform, or user code),\nprefix `gcloud` with\n`CLOUDSDK_METRICS_REQUEST_ATTRIBUTION=\"agent-skills\u002F1.0 (skill:gke-ai-troubleshooting-tpu-performance-degradation)\"`\nand append `agent-skills\u002F1.0 (skill:gke-ai-troubleshooting-tpu-performance-degradation)` to `User-Agent` headers.\n\n## Prerequisites\n\n- **Tools**: Install the\n  [Google Cloud SDK](https:\u002F\u002Fcloud.google.com\u002Fsdk\u002Fdocs\u002Finstall) (`gcloud` with\n  `alpha` component for `gcloud alpha mldiagnostics`) and `kubectl`.\n- **Cloud Billing & Project Configuration**: Verify an active billing account is\n  linked (`gcloud billing projects describe {project_id}`), authenticate\n  (`gcloud auth login`), set the target project (`gcloud config set project\n  {project_id}`), and ensure `container.googleapis.com`,\n  `monitoring.googleapis.com`, and `hypercomputecluster.googleapis.com` are\n  enabled.\n- **Supported workloads and GKE versions**: Google Cloud ML Diagnostics only\n  supports JAX on TPUs (see\n  [ML Diagnostics platform](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Foverview.md.txt)).\n  Workload Monitoring is enabled by default, supports the `jobset` and `job` GKE\n  job types, and is compatible with GKE versions `1.36.0-gke.4681000` and later,\n  as stated in\n  [Configure GKE for ML Diagnostics](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fgke.md.txt).\n  If a workload uses another framework (such as PyTorch) or another custom\n  resource type, `gcloud alpha mldiagnostics` won't list ML runs or monitored\n  events for it. On-demand profiling (Step 4 Path A) additionally requires the\n  cluster setup described in that document.\n- **Required IAM Roles**:\n  - Cluster Director Editor (`roles\u002Fhypercomputecluster.editor`), the role\n    listed in the \"IAM permissions\" section of\n    [ML Diagnostics platform](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Foverview.md.txt),\n    for the ML Diagnostics CLI and API calls in this skill (ML runs, monitored\n    events, and on-demand profiler sessions)\n  - Monitoring Viewer (`roles\u002Fmonitoring.viewer`) for the PromQL queries in Step\n    2\n  - Kubernetes Engine Viewer (`roles\u002Fcontainer.viewer`) for the `kubectl get\n    nodes` query in Step 3\n  - For remediation (`[High Risk]` steps): Kubernetes Engine Cluster Admin\n    (`roles\u002Fcontainer.clusterAdmin`)\n- **Reference Documentation**:\n  - [ML Diagnostics platform](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Foverview.md.txt)\n    (Sections: \"IAM permissions\")\n  - [Configure GKE for ML Diagnostics](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fgke.md.txt)\n    (Sections: \"Set up with gcloud CLI, Google Cloud console, or Terraform\",\n    \"Manual installation\", \"Connection-operator\")\n  - [Workload monitoring with ML Diagnostics](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fworkload-monitoring.md.txt)\n    (Sections: \"Workload Monitoring and analyzers\", \"HBM Capacity Analyzer\",\n    \"Host Memory Utilization Analyzer\", \"CPU Utilization Analyzer\", \"Access\n    Workload Monitoring information through the API\", \"List all monitored\n    events\", \"System Metrics\")\n  - [Get started with the ML Diagnostics CLI](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fcli.md.txt)\n    (Sections: \"List machine learning runs\", \"Monitored-events commands\", \"List\n    profiler targets\", \"Capture on-demand profiler sessions\")\n  - [Scale container resource requests and limits](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fvertical-pod-autoscaling.md.txt)\n    (Sections: \"Identify workloads without resource requests or limits\")\n  - [Auto-repair nodes](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fnode-auto-repair.md.txt)\n    (Sections: \"Repair criteria\", \"Verify node auto-repair is enabled for a\n    Standard node pool\", \"Enable auto-repair for an existing Standard node\n    pool\", \"Node auto repair in TPU slice nodes\")\n  - [Deploy TPU workloads in GKE Standard](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Ftpus.md.txt)\n    (Sections: \"Configure auto repair for TPU slice nodes\")\n  - [Get support](https:\u002F\u002Fdocs.cloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fgetting-support.md.txt)\n    (Sections: \"Before you contact support\")\n\n> **Read-only rule**: Run read-only diagnostic commands only. Never drain,\n> delete, or re-create nodes, or run any other command that changes the cluster.\n> Give the user any fix to apply themselves.\n\nWhen you recommend a fix, link the doc section that describes it.\n\n---\n\n## Analyzer routing overview\n\nBy default, Workload Monitoring treats a 15% drop in TPU duty cycle as a\nperformance degradation, raises a `MonitoredEvent` (`type:\nPERFORMANCE_DEGRADATION`), and runs its analyzers. Consult the\n[Workload Monitoring and analyzers](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fworkload-monitoring.md.txt)\nsection in the official Cloud TPU documentation for the complete analyzer\ndefinitions, detection criteria, and subsections, and route remediation by\ncategory:\n\n- **Category A: workload resource bottlenecks (never cordon or replace nodes)**:\n  - When the firing analyzer (`detectionState: \"DETECTED\"`) indicates a workload\n    memory or host CPU capacity bottleneck (see the \"HBM Capacity Analyzer\",\n    \"Host Memory Utilization Analyzer\", and \"CPU Utilization Analyzer\" sections\n    of\n    [Workload monitoring with ML Diagnostics](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fworkload-monitoring.md.txt)),\n    route to\n    [Path A: Workload resource bottlenecks](references\u002Fpath-a-workload-bottlenecks.md)\n    (workload optimization and profiling).\n- **Category B: infrastructure and network fabric throttling (culprit nodes)**:\n  - When the firing analyzer (`detectionState: \"DETECTED\"`) indicates an\n    interconnect, thermal\u002Fpower throttling, memory bandwidth, or Top-of-Rack\n    (ToR) network fault on specific instances (see\n    [Workload Monitoring and analyzers](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fworkload-monitoring.md.txt)),\n    route to\n    [Path B: Infrastructure or network fabric throttling](references\u002Fpath-b-infrastructure-throttling.md)\n    (map the culprit Compute Engine instance IDs to GKE nodes, handle node\n    repair through GKE, and escalate to Google Cloud Support).\n- **Category C: `PERFORMANCE_DEGRADATION` event fired, but no analyzer reports\n  `detectionState: \"DETECTED\"`**:\n  - When a `PERFORMANCE_DEGRADATION` event exists (as in the sample output in\n    [List all monitored events](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fworkload-monitoring.md.txt),\n    where `analyzerReports` entries have `detectionState: \"NOT_DETECTED\"`),\n    route to\n    [Path C: Event fired with no DETECTED analyzer](references\u002Fpath-c-no-detected-analyzer.md).\n\n---\n\n## Diagnostic workflow\n\n### Step 0: Collect context and set the investigation window `[Low Risk]`\n\nCollect the target parameters. By default, query a 60-minute window `[T - 30m, T\n+ 30m]` around `{issue_time}`:\n\n- `{project_id}`: Google Cloud project ID\n- `{location}`: Google Cloud region where the ML run and GKE cluster reside (for\n  example, `us-central1`)\n- `{cluster_name}`: GKE cluster name\n- `{workload_name}` \u002F `{ml_run_id}`: JobSet \u002F workload name or ML Diagnostics\n  run ID\n- `{issue_time}`: Timestamp when throughput degradation was observed (`T`,\n  ISO-8601 UTC)\n- `{start_time}`: `T - 30m`\n- `{end_time}`: `T + 30m`\n\n---\n\n### Step 1: Query ML runs and `monitoredEvents` `[Low Risk]`\n\n1. **List active or recent ML runs**: Give the user `gcloud alpha mldiagnostics\n   machine-learning-run list` with a link to\n   [List machine learning runs](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fcli.md.txt)\n   in the ML Diagnostics CLI reference, and locate `{ml_run_id}` matching\n   `{workload_name}`.\n2. **List performance degradation events**: Give the user `gcloud alpha\n   mldiagnostics monitored-events list` with a link to\n   [Monitored-events commands](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fcli.md.txt),\n   or the `hypercomputecluster.googleapis.com\u002Fv1alpha` API with a link to\n   [Access Workload Monitoring information through the API](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fworkload-monitoring.md.txt),\n   to check for `PERFORMANCE_DEGRADATION` events during `[{start_time},\n   {end_time}]`.\n3. **Describe the `MonitoredEvent`**: Give the user `gcloud alpha mldiagnostics\n   monitored-events describe` with a link to the same\n   [Monitored-events commands](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fcli.md.txt)\n   section, and inspect the `analyzerReports` array (`analyzer`,\n   `detectionState`, `details`, and `recommendedActions`).\n   - If a `PERFORMANCE_DEGRADATION` event fired, run Step 2 to corroborate with\n     the 1-minute system metrics; if none of its `analyzerReports` entries has\n     `detectionState: \"DETECTED\"`, follow\n     [Path C: Event fired with no DETECTED analyzer](references\u002Fpath-c-no-detected-analyzer.md).\n   - If no `PERFORMANCE_DEGRADATION` event exists and duty cycle is steady in\n     Step 2, **rule out** TPU performance degradation by following\n     [Path D: Healthy telemetry](references\u002Fpath-d-healthy-telemetry.md).\n\n---\n\n### Step 2: Correlate with 1-minute Cloud Monitoring system metrics `[Low Risk]`\n\nConsult the\n[System Metrics](https:\u002F\u002Fdocs.cloud.google.com\u002Ftpu\u002Fdocs\u002Fml-diagnostics\u002Fworkload-monitoring.md.txt)\nsection in the Workload Monitoring documentation for the 1-minute Cloud\nMonitoring metrics exported for TPU and host devices, and run read-only PromQL\nqueries over `[{start_time}, {end_time}]` to corroborate the analyzer report:\n\n```promql\n# 1. Node TPU duty cycle (look for the drop on the affected nodes)\nkubernetes_io:node_accelerator_duty_cycle{\n  monitored_resource=\"k8s_node\",\n  project_id=\"{project_id}\",\n  cluster_name=\"{cluster_name}\"\n}\n\n# 2. HBM utilization ratio by node (around 0.90 is approaching the limit)\nsum by (node_name) (\n  kubernetes_io:node_accelerator_memory_used{\n    monitored_resource=\"k8s_node\",\n    project_id=\"{project_id}\",\n    cluster_name=\"{cluster_name}\"\n  }\n)\n\u002F\nsum by (node_name) (\n  kubernetes_io:node_accelerator_memory_total{\n    monitored_resource=\"k8s_node\",\n    project_id=\"{project_id}\",\n    cluster_name=\"{cluster_name}\"\n  }\n)\n\n# 3. Host memory and CPU allocatable utilization\nkubernetes_io:node_memory_allocatable_utilization{\n  monitored_resource=\"k8s_node\",\n  project_id=\"{project_id}\",\n  cluster_name=\"{cluster_name}\"\n}\n\nkubernetes_io:node_cpu_allocatable_utilization{\n  monitored_resource=\"k8s_node\",\n  project_id=\"{project_id}\",\n  cluster_name=\"{cluster_name}\"\n}\n```\n\n---\n\n### Step 3: Map culprit instance IDs to GKE nodes and topology `[Low Risk]`\n\nWhen an infrastructure analyzer reports culprit numeric Compute Engine instance\nIDs in `details` or `recommendedActions`, map those numeric instance IDs to GKE\n`Node` names and physical topology blocks using this read-only `kubectl` query\ninspecting `container.googleapis.com\u002Finstance_id`:\n\n```bash\nkubectl get nodes -l cloud.google.com\u002Fgke-tpu-accelerator \\\n  -o jsonpath='{range .items[*]}{.metadata.name}{\"\\tinstance_id=\"}{.metadata.annotations.container\\.googleapis\\.com\u002Finstance_id}{\"\\tblock=\"}{.metadata.labels.cloud\\.google\\.com\u002Fgce-topology-block}{\"\\tsubblock=\"}{.metadata.labels.cloud\\.google\\.com\u002Fgce-topology-subblock}{\"\\thost=\"}{.metadata.labels.cloud\\.google\\.com\u002Fgce-topology-host}{\"\\n\"}{end}'\n```\n\n---\n\n### Step 4: Remediation by analyzer category\n\nLoad and follow only the reference file that matches the analyzer category from\nStep 1:\n\n- **Path A (workload resource bottlenecks — HBM, host memory, or host CPU\n  utilization)**: Read\n  [Path A: Workload resource bottlenecks](references\u002Fpath-a-workload-bottlenecks.md).\n- **Path B (infrastructure, thermal, ICI, memory bandwidth, or network fabric\n  throttling)**: Read\n  [Path B: Infrastructure or network fabric throttling](references\u002Fpath-b-infrastructure-throttling.md).\n- **Path C (`PERFORMANCE_DEGRADATION` event fired with all analyzers\n  `NOT_DETECTED`)**: Read\n  [Path C: Event fired with no DETECTED analyzer](references\u002Fpath-c-no-detected-analyzer.md).\n- **Path D (no `PERFORMANCE_DEGRADATION` events and steady telemetry)**: Read\n  [Path D: Healthy telemetry](references\u002Fpath-d-healthy-telemetry.md).\n\n---\n\n## Guardrails\n\n1. **Never change GKE-managed instance groups or VMs through Compute Engine**:\n   Don't run `gcloud compute instance-groups managed` commands, such as\n   `delete`, on a node pool's managed instance group. Handle nodes through GKE,\n   as described in\n   [Path B: Infrastructure or network fabric throttling](references\u002Fpath-b-infrastructure-throttling.md).\n2. **Never cordon nodes for workload resource saturation**: If only the HBM\n   capacity, host memory, or host CPU utilization analyzers detected an issue,\n   don't cordon or replace nodes.\n",{"name":5,"metadata":58,"description":7},{"version":59,"category":60},"1.0.1","AiAndMachineLearning","main","bb9b3f464aae37af360d079c1d863524955b0363","skills\u002Fcloud\u002Fgke-ai-troubleshooting-tpu-performance-degradation",2014,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-14 23:31:00",{"source":9,"skillName":5,"commands":71,"prompt":81,"zipAvailable":82},[72,75,78],{"tool":73,"command":74},"npx","npx skills add google\u002Fskills --skill gke-ai-troubleshooting-tpu-performance-degradation",{"tool":76,"command":77},"bunx","bunx skills add google\u002Fskills --skill gke-ai-troubleshooting-tpu-performance-degradation",{"tool":79,"command":80},"pnpm","pnpm dlx skills add google\u002Fskills --skill gke-ai-troubleshooting-tpu-performance-degradation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgke-ai-troubleshooting-tpu-performance-degradation\u002FSKILL.md",true,[84,90,94,98,102],{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fattribution.md","REFERENCE","参考文档",1990,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgke-ai-troubleshooting-tpu-performance-degradation\u002Freferences\u002Fattribution.md",{"path":91,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fpath-a-workload-bottlenecks.md",2329,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgke-ai-troubleshooting-tpu-performance-degradation\u002Freferences\u002Fpath-a-workload-bottlenecks.md",{"path":95,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fpath-b-infrastructure-throttling.md",2287,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgke-ai-troubleshooting-tpu-performance-degradation\u002Freferences\u002Fpath-b-infrastructure-throttling.md",{"path":99,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fpath-c-no-detected-analyzer.md",1525,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgke-ai-troubleshooting-tpu-performance-degradation\u002Freferences\u002Fpath-c-no-detected-analyzer.md",{"path":103,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fpath-d-healthy-telemetry.md",323,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgke-ai-troubleshooting-tpu-performance-degradation\u002Freferences\u002Fpath-d-healthy-telemetry.md",[107,115,122,129,136,143],{"skillNo":108,"name":109,"nameZh":17,"description":110,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":114},"01M7DQ9K7JF4T7NJZ2K1MQZ44Q","cloud-operator-share-context","Shares Google Cloud operating context the user or their team already have — environments, projects, services and regions, product preferences, best practices, architecture guidance, runbooks — found in agent instruction files, local memory, skills and workflows, and the repository's GCP docs, with the operator agent's memory after the user reviews the list. Use when the user runs this skill, accepts the cloud-operator or cloud-operator-setup skill's offer to share their existing Google Cloud context, or asks to share, import or save that context or a GCP fact for the operator agent. Don't use for ordinary GCP requests, which go to the cloud-operator skill.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-operator-share-context\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":116,"name":117,"nameZh":17,"description":118,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":114},"01M7DQ9ERFGGQCFAWQW0KRKYBY","cloud-operator-setup","Sets up the operator agent in a Google Cloud project via the autocloud MCP server: picks the operator project, creates or checks the user's operator agent, saves the project, and offers to share the user's existing Google Cloud operating context with the operator agent's memory. Use when the user runs this skill, asks to set up the operator or create their operator agent, or chooses setup when the cloud-operator skill asks. Don't use for ordinary GCP requests or installing gcloud.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-operator-setup\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":17,"description":125,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":114},"01M7B4RHQCM0DK2XQ7S7ZXVN8D","developer-device-platform-device-run","Runs automated, non-interactive jobs on remote Android devices with Developer Device Platform (DDP) Device Run using `gcloud beta device-run sessions`: native Android executables or shell scripts (for example CLI tools, custom runners, test harnesses or benchmarks) and Android instrumentation tests, on one or many devices, then waits for completion and collects per-device outputs and logs. Use when running a binary or test suite on remote devices without an interactive connection. Don't use it for interactive device reservations, adb tunnels or screen streaming (use developer-device-platform-basics), or for local devices.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fdeveloper-device-platform-device-run\u002FSKILL.md",[],[],{"skillNo":130,"name":131,"nameZh":17,"description":132,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":114},"01M7B4R9YXMRW7RZP9Q9FMZJ2P","compute-vm-creation","Guides the planning, configuration, and provisioning of standalone Google Compute Engine virtual machines (VMs) and bare metal (-metal) instances using gcloud CLI commands or direct MCP tool execution. Use ONLY when the user wants to create, configure, or provision a new standalone Compute Engine VM or bare metal instance from conversational intents (hardware sizing, region selection, OS image, networking, security defaults). DO NOT read or use for Google Kubernetes Engine (GKE) Autopilot or Standard clusters, Kubernetes node pools or Pods, container orchestration, managing existing VMs, Managed Instance Groups (MIGs), or Instance Templates.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcompute-vm-creation\u002FSKILL.md",[],[],{"skillNo":137,"name":138,"nameZh":17,"description":139,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":114},"01M7B4QD02N0YBVT0838Z5K5VC","agent-platform-autorater-customization","Customizes an autorater (evaluation metric) for an AI agent so its grades match the user's own judgment, starting from the agent's real trajectories. Use when a user wants a metric tailored to their agent, wants to turn failing trajectories into rubrics, says an existing autorater grades their agent wrong, or wants an autorater to agree with human labels (autorater hillclimbing, judge calibration). Don't use for quick evals with built-in metrics or for improving the agent itself (use agent-platform-eval-flywheel).","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-autorater-customization\u002FSKILL.md",[],[],{"skillNo":144,"name":145,"nameZh":17,"description":146,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":114},"01M78JP22K73KK96JH0JNDT5C4","iap-agent-platform-troubleshooting","Diagnoses Identity-Aware Proxy (IAP) denials of outbound requests from Gemini Enterprise Agent Platform agents that run on Agent Runtime and send traffic through Agent Gateway. Use when an agent request fails with \"Egress request is not authorized\", when Cloud Audit Logs show an IAP egressViaIAP decision with granted false, when IAP audit entries are missing while debugging agent egress, or when Access policies, IAP allow policies, policy bindings, or Agent Registry entries might block agent egress. Don't use for Gemini model IAM permission errors (such as aiplatform.endpoints.predict), Agent Platform API errors, or Agent Runtime deployment or 500 errors (use agent-platform-troubleshooting instead). Don't use for setting up, creating, or connecting an Agent Gateway, or for IAP web apps, IAP TCP forwarding, or SSH.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fiap-agent-platform-troubleshooting\u002FSKILL.md",[],[]]