gke-ai-troubleshooting-tpu-partition-overlap
ما الذي تفعله
تساعد هذه المهارة وكيل الذكاء الاصطناعي على معرفة سبب فشل شريحة TPU على Google Kubernetes Engine برسالة SliceCreationFailed. وهي مخصصة للفرق التي تشغّل أحمال TPU مع شرائح ديناميكية.
متى تستخدمها
- ✓عندما تُظهر شريحة TPU سبب الحالة SliceCreationFailed مع تعارض في القسم أو العقدة.
- ✓عندما تشتبه بأن شريحة أو JobSet آخر يستخدم العقد نفسها في TPU.
- ✓عندما تحتاج إلى استبعاد الأسباب المعروفة الأخرى لفشل الشريحة قبل إلقاء اللوم على التعارض.
رابط المهارة
https://github.com/google/skills/blob/main/skills/cloud/gke-ai-troubleshooting-tpu-partition-overlap/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“شريحة TPU الجديدة على GKE تفشل باستمرار برسالة SliceCreationFailed. هل يمكن أن تكون شريحة أخرى تستخدم العقد نفسها؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يتأكد الوكيل من الفشل، ويستبعد الأسباب المعروفة الأخرى، ويجد الشريحة التي تستخدم العقد نفسها، ثم يشير إلى الإصلاح عبر GKE.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Troubleshoot TPU slice creation failures caused by partition overlap
A dynamic slice fails to form with the status reason SliceCreationFailed when,
among other documented causes, any of its nodes are already used by another
slice. This skill confirms the failure, rules out the other documented causes,
finds the slice that uses the same nodes, and routes the fix through GKE.
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-partition-overlap)"
and append agent-skills/1.0 (skill:gke-ai-troubleshooting-tpu-partition-overlap) 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 Cloud Monitoring API (monitoring.googleapis.com) is enabled, and follow Store cluster information for kubectl to configurekubectlcluster credentials. - Required IAM Roles:
- Kubernetes Engine Viewer (
roles/container.viewer) - Monitoring Viewer (
roles/monitoring.viewer)
- Kubernetes Engine Viewer (
- Documentation:
- Use dynamic slicing with a custom scheduler (Sections: "Before you begin", "Target your node pool to belong to a block or a sub-block", "Verify the status of the nodes and the partitions", "Create a Slice custom resource", "Monitor the status of the Slice custom resource", "Delete the slice")
- Configure cluster access for kubectl (Sections: "Install kubectl", "Install required plugins", "Store cluster information for kubectl")
- Slice (Sections: "Slice status", "Slice specification")
- Schedule dynamic slices with Kueue and TAS (Sections: "Target your node pool to belong to a block or a sub-block", "Create a dynamic slice with Kueue and TAS", "Define the partition health selection", "Optimize workload scheduling with slice reuse", "Enable Slice reuse", "Enforce slice deletion per workload", "Monitor the status of the slice", "Monitor the metrics of the slice", "Clean up")
- GKE system metrics (Sections: "Kubernetes metrics")
- Monitored resource types (Sections: "k8s_node_pool")
- About GKE dynamic slicing (Sections: "Dynamic slicing configurations")
- Get support (Sections: "Before you contact support", "Recommendations for efficient support")
Read-only rule: Run read-only diagnostic commands only. Never drain, delete, or re-create nodes, or run any other command that changes the cluster. Give the user any fix to apply themselves.
When you recommend a fix, link the doc section that describes it.
Diagnostic workflow
Step 0: Collect context [Low Risk]
Collect the target parameters:
{project_id}: G
الأسئلة الشائعة
هل تغطي حالات فشل الشرائح التي لا علاقة لها بالتداخل؟
لا. تقول المهارة ألا تُستخدم لحالات فشل الشرائح التي لا يوجد فيها تعارض في العقد أو الأقسام.
هل تغيّر الشريحة الأخرى بدلا مني؟
ترسل المهارة الإصلاح عبر GKE بدلا من إجراء تغييرات مباشرة، فتبقى أنت المتحكم.
ماذا أحتاج قبل أن أبدأ؟
تحتاج إلى Google Cloud SDK وkubectl والوصول إلى الكلستر، كما تصف خطوات الإعداد.
التفاصيل
الوصف الأصلي من المؤلف
Diagnose and resolve GKE TPU slice creation failures (SliceCreationFailed) caused by partition overlap conflicts where requested TPU partitions or their nodes are already used by another slice or JobSet. Use when diagnosing GKE TPU slice creation failures with SliceCreationFailed partition or node conflicts. Don't use for general slice lifecycle states or slice provisioning failures without node overlap (use gke-ai-troubleshooting-tpu-dynamic-slices-monitoring), quota exhaustion, or unresponsive TPU nodes.
repo: google/skills
الشعبية
- نجوم GitHub
- 22k
- الترتيب
- #10270
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/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يساعد وكيلك على فتح تطبيق وتشغيله على جهاز سحابي مؤقت، ثم عرض واجهته في الشريط الجانبي للدردشة.