gke-ai-troubleshooting-tpu-vm-repair-stuck
Что он делает
Этот скилл помогает ИИ-агенту проверять виртуальные машины TPU, которые остаются в состоянии REPAIRING после ошибок хоста или обслуживания. Он нужен командам, у которых слайс TPU не может быть запланирован, потому что одна машина все еще в ремонте.
Когда использовать
- ✓Когда экземпляры TPU в пуле узлов слайса долго остаются в статусе REPAIRING.
- ✓Когда в журналах аудита для узла TPU в GKE появляются события об ошибке хоста.
- ✓Когда слайс TPU не может быть запланирован, потому что одна из его машин все еще в ремонте.
Ссылка на скилл
https://github.com/google/skills/blob/main/skills/cloud/gke-ai-troubleshooting-tpu-vm-repair-stuck/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Одна из моих виртуальных машин TPU в GKE уже несколько часов в статусе REPAIRING, и слайс не запускается. Что делать?”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент проверяет статус виртуальной машины, события хоста и статус ремонта в GKE, затем ведет восстановление через GKE, а не через прямые изменения в Compute Engine.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Troubleshoot GKE TPU VMs stuck in Compute Engine repair (REPAIRING)
This skill checks the VM status, the host events, and the GKE repair status, and routes recovery through GKE instead of direct Compute Engine changes.
Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read Usage Attribution. For commands executed
directly in the terminal (never in generated scripts, Terraform, or user code),
prefix gcloud with
CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:gke-ai-troubleshooting-tpu-vm-repair-stuck)"
and append agent-skills/1.0 (skill:gke-ai-troubleshooting-tpu-vm-repair-stuck) to User-Agent headers.
Prerequisites
- Tools:
- For installing and initializing
gcloud(which covers authentication and project selection), follow Before you begin. - For installing
kubectland required plugins, follow Install kubectl and Install required plugins.
- For installing and initializing
- Cloud Billing & Project Configuration: Ensure the project has an active
Cloud Billing account. Follow
Before you begin
to initialize
gcloudand enable the Google Kubernetes Engine API (container.googleapis.com), ensure the Compute Engine API (compute.googleapis.com) and Cloud Logging API (logging.googleapis.com) are enabled, and follow Store cluster information for kubectl to configurekubectlcluster credentials. - Required IAM Roles:
- Kubernetes Engine Viewer (
roles/container.viewer) - Compute Viewer (
roles/compute.viewer) - Logs Viewer (
roles/logging.viewer) - For the user who enables node auto-repair in Step 5, item 1: Kubernetes
Engine Cluster Admin (
roles/container.clusterAdmin)
- Kubernetes Engine Viewer (
- Documentation:
- View information about MIGs and managed instances (Sections: "List MIGs", "Check the status of managed instances")
- Compute Engine instance lifecycle
(Sections: "
REPAIRINGstate") - Troubleshooting VM shutdowns and reboots (Sections: "Querying Cloud Audit Logs", "Reviewing Cloud Audit Logs")
- Configure cluster access for kubectl (Sections: "Install kubectl", "Install required plugins", "Store cluster information for kubectl")
- Add and manage node pools (Sections: "View node pools in a Standard cluster", "Deploy a Pod to a specific node pool")
- Troubleshoot NodeNotReady state (Sections: "Check the node's status and conditions", "Confirm node preemption")
- About TPUs in GKE (Sections: "Multi-host TPU slice node pools")
- Use dynamic slicing with a custom scheduler (Sections: "Requirements", "Verify the status of the nodes and the partitions", "Monitor the status of the Slice custom resource", "Hardware maintenance and failures")
- About GKE dynamic slicing (Sections: "Key characteristics of dynamic slicing configurations")
- Deploy TPUs in All Capacity mode in GKE (Sections: "Manage node failures", "Node failure and recovery")
- Report and repair faulty TPU hosts in All Capacity mode (Sections: "Understand the fa
Частые вопросы
Стоит ли менять виртуальную машину напрямую в Compute Engine?
Скилл советует вести восстановление через GKE, а не вносить прямые изменения в Compute Engine.
Какие типы пулов узлов он охватывает?
Он охватывает пулы с одним хостом, с несколькими хостами, динамическое слайсирование и режим TPU All Capacity.
Что ускорит проверку?
Имя затронутой виртуальной машины и ее пула узлов помогут быстрее найти подходящие события.
Подробности
Оригинальное описание автора
Diagnose GKE TPU VM instances stuck in Compute Engine repair (REPAIRING state) after host errors, maintenance events, or faulty host reports in single-host, multi-host, dynamic slicing, and TPU All Capacity mode node pools. Use when TPU instances in a slice node pool remain in REPAIRING, host error events appear in audit logs, or TPU slices are unschedulable due to a VM in repair. Don't use for nodes reporting Ready: Unknown when no VM is in REPAIRING (use gke-ai-troubleshooting-node-unresponsive-timeout), other NotReady nodes when no VM is in REPAIRING (use gke-node-notready), Pending Pods wh
repo: google/skills
Популярность
- Звёзды на GitHub
- 22k
- Место в рейтинге
- #10275
- Лицензия
- Apache-2.0
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
finding-google-skills
22kПомогает агенту найти нужные руководства Google для задач настройки, например хостинга, баз данных, хранилища, входа или запуска ИИ-моделей.
gcloud
22kПомогает агенту писать и проверять команды gcloud для Google Cloud, сверяя синтаксис с официальной справкой перед запуском, чтобы не угадывать флаги.
google-cloud-recipe-auth
22kВедёт агента через настройку идентификации и доступа в Google Cloud: как люди и сервисы входят в систему и какие права они получают.
google-cloud-recipe-onboarding
22kВедёт нового разработчика через первые шаги в Google Cloud: выбор проекта, подключение оплаты и развёртывание первого ресурса.
Похожие скиллы
openclaw-update
394kПомогает агенту обновить уже работающий OpenClaw Gateway, выбрав способ обновления по тому, как он был установлен, и сохранив вашу сессию.
diagnose-gateway
394kПомогает агенту выяснить, почему ваш OpenClaw Gateway не работает, проверяя настройки, каналы и порты, но ничего не меняя.
crabbox-apps
394kПомогает агенту открыть и запустить приложение на временной облачной машине, а затем показать его вид на боковой панели чата.