google-cloud-solution-guided-gke-ai-migration
できること
このスキルは、既存の AI モデルのワークロードを Google Kubernetes Engine のセルフホスト環境へ移す手助けをします。自分の GKE クラスターで AI 推論を動かしたいチーム向けです。
使う場面
- ✓Cloud Run、Gemini API、または VM から GKE へ AI 推論のワークロードを移したいとき。
- ✓GKE へのセルフホスト推論について、アーキテクトの指導を受けながら計画を立てたいとき。
- ✓GKE への AI 移行の途中で、追加の質問があるとき。
スキルのリンク
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-solution-guided-gke-ai-migration/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Cloud Run の AI モデルサービスを GKE のセルフホスト推論へ移すのを、一度に 1 ステップずつ手伝ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
質問による状況把握、設計、gcloud と kubectl による実行、検証の 4 段階で進みます。自動化された Gemini Cloud Assist MCP の方法を求められた場合は、そちらへ案内します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
よくある質問
Gemini Cloud Assist MCP サーバーを使いますか?
あなたが求めた場合のみです。自動化を求められた場合、このスキルは手動の手順を止め、そちらを案内します。
移行ではどのツールを使いますか?
gcloud と kubectl です。
自動移行にも対応しますか?
いいえ。手動でアーキテクトの指導を受けながら行う移行だけが対象です。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 22k
- ランキング
- #10323
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
finding-google-skills
22kセットアップ作業に合うGoogleの公式ガイドを探すようエージェントを支援します。ホスティング、データベース、ストレージ、サインイン、AIモデルの提供などが対象です。
gcloud
22kエージェントが、Google CloudのgcloudコマンドについてWeb検索に頼らず、正確な構文を確かめてから書いたり確認したりできるよう支援します。
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一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。