google-cloud-solution-guided-gke-ai-migration
Skill này làm gì
Skill này giúp chuyển một khối lượng công việc mô hình AI hiện có sang thiết lập tự host trên Google Kubernetes Engine. Skill dành cho các đội muốn chạy suy luận AI trên cụm GKE của riêng họ.
Khi nào nên dùng
- ✓Khi bạn muốn chuyển khối lượng công việc suy luận AI từ Cloud Run, Gemini API hoặc VM sang GKE.
- ✓Khi bạn cần một kế hoạch có kiến trúc sư hướng dẫn cho suy luận tự host trên GKE.
- ✓Khi bạn đang giữa chừng một đợt di chuyển AI lên GKE và có câu hỏi tiếp theo.
Liên kết skill
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-solution-guided-gke-ai-migration/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Giúp tôi chuyển dịch vụ mô hình AI trên Cloud Run sang suy luận tự host trên GKE, từng bước một.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill đi qua quy trình bốn giai đoạn có cấu trúc: câu hỏi khám phá, thiết kế, thực thi bằng gcloud và kubectl, và kiểm chứng. Nếu bạn yêu cầu tuyến tự động hóa Gemini Cloud Assist MCP, skill chuyển sang tuyến đó.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Migrate AI Workloads to GKE Inference
This skill guides agents through the end-to-end process of migrating existing AI inference workloads (e.g., from Cloud Run, Gemini API, Gemini Enterprise Agent Platform) to self-hosted inference on Google Kubernetes Engine (GKE). The agent will act as an interactive architect, using a structured 4-phase workflow to discover requirements, design a Google Cloud-native solution, execute the implementation using gcloud and kubectl, and validate the deployment.
Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution.
Gemini Cloud Assist MCP off-ramp
This skill covers manual, architect-guided migration only. Automated migration is the job of the Gemini Cloud Assist MCP server. Route between them as follows:
- The user asks to USE Gemini Cloud Assist or MCP automation for this migration (e.g., "use the Cloud Assist MCP server to do this"): stop the manual workflow and respond with the 4 required points below.
- The user mentions MCP only in passing, or explicitly declines it (e.g., "no MCP, let's do this manually"): proceed with the manual workflow. Do not stop and do not ask about MCP.
- The user does not mention MCP at all: proceed directly to the active phase. In your first discovery response only, add one sentence noting that an automated alternative exists via the Gemini Cloud Assist MCP server and the user can switch to it at any time. Do not wait for an answer before beginning discovery.
When stopping for an MCP request, your response MUST include these 4 points:
- STOP the manual workflow & clarify scope: State that
google-cloud-solution-guided-gke-ai-migrationis strictly intended for manual, architect-guided migration using native CLIs (gcloudandkubectl), and that this manual skill workflow is being stopped. - Explain MCP capabilities: Explain that the Gemini Cloud Assist MCP server assists in automated infrastructure analysis (
gemini_cloud_assist:ask_cloud_assist) or direct Google Cloud resource mutation (gemini_cloud_assist:invoke_operation). - Link to MCP Documentation: Provide a valid hyperlink to the Gemini Cloud Assist MCP Documentation.
- Link to Intent to Infrastructure Codelab: Provide a valid hyperlink to the Intent to Infrastructure Codelab for guidance on setting up the MCP server.
Scope Check: New Deployments vs. Migrations
This skill is specifically intended for migrating existing AI workloads (from Cloud Run, Gemini API, Agent Platform, or other platforms) to GKE.
If the user wants to deploy a new AI model server from scratch on GKE (and does NOT have an existing deployment to migrate), STOP and recommend using the gke-inference skill instead. Explain that google-cloud-solution-guided-gke-ai-migration focuses on migration workflows (discovering existing Cloud Run/Agent Platform configurations, traffic cutover, etc.), while gke-inference is optimized for fresh GKE AI model server deployments using AI Profiles and golden path manifests.
Core Architectural Principles (The "Golden Path")
When designing the solution, always default to the latest GKE AI best practices:
- Execution:
- Execution policy (who runs commands):
- Phase 1 (Discovery): after the user grants permission, execute read-only
gcloudinspection commands (list,describe) directly and summarize the results. - Phases 2-4: write manifests to disk, then present the exact
gcloudandkubectlcommands for the user to run. Do not execute mutating commands (apply,create,delete, cluster or IAM changes) unless the user explicitly asks you to run them, in which case execute them and report each command's actual output. - Informational and troubleshooting questions: answer with markdown guidance, manifests, and recommended commands only; execute nothing.
- Phase 1 (Discovery): after the user grants permission, execute read-only
- Favor raw Kubernetes manifests, native CLIs (
gcloudfor infrastructure,kubectlfor workloads), and opinionated templates. - Save YAML files to the user's current directory and apply them using
kubectl. - Write ad-hoc scripts (e.g., for VRAM calculation) only if absolutely necessary.
- Execution policy (who runs commands):
- Node Provisioning:
- Utilize **Custom
Câu hỏi thường gặp
Skill có dùng máy chủ Gemini Cloud Assist MCP không?
Chỉ khi bạn yêu cầu. Nếu bạn yêu cầu tự động hóa đó, skill dừng các bước thủ công và chỉ bạn đến nó.
Đợt di chuyển dùng công cụ nào?
gcloud và kubectl.
Skill có bao gồm di chuyển tự động không?
Không. Skill chỉ bao gồm di chuyển thủ công có kiến trúc sư hướng dẫn.
Chi tiết
Mô tả gốc của tác giả
Guides the migration of existing AI workloads (Cloud Run, Gemini API, Gemini Enterprise Agent Platform) to self-hosted GKE inference using gcloud and kubectl. Use when the user has an existing AI inference workload (on Cloud Run, the Gemini API, Gemini Enterprise Agent Platform, or a custom VM) and wants to move it to self-hosted inference on GKE, or asks follow-up questions during such a migration (hardware sizing, model staging, manifest generation, validation, traffic cutover). DO NOT use for brand new GKE inference deployments with no existing workload to migrate (use gke-inference instead
repo: google/skills
Độ phổ biến
- Sao GitHub
- 22k
- Vị trí xếp hạng
- #10323
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
finding-google-skills
22kGiúp agent của bạn tìm hướng dẫn Google phù hợp cho việc thiết lập, như hosting, cơ sở dữ liệu, lưu trữ, đăng nhập hoặc phục vụ mô hình AI.
gcloud
22kGiúp agent của bạn viết và kiểm tra các lệnh gcloud của Google Cloud, tra cứu cú pháp chính xác trước khi chạy bất cứ thứ gì để không đoán các flag.
google-cloud-recipe-auth
22kHướng dẫn agent của bạn qua quản lý danh tính và quyền truy cập của Google Cloud, gồm cách con người và dịch vụ đăng nhập và những quyền họ nhận được.
google-cloud-recipe-onboarding
22kHướng dẫn một lập trình viên mới qua các bước đầu tiên trên Google Cloud, gồm chọn dự án, liên kết thanh toán và triển khai tài nguyên đầu tiên.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.