Pular para o conteúdo
Skillpedia
Deploy e nuvem (DevOps)22 mil · #10323

google-cloud-solution-guided-gke-ai-migration

O que ela faz

Esta skill ajuda a mover uma carga de trabalho de modelo de IA existente para uma configuração autogerenciada no Google Kubernetes Engine. É para equipes que querem rodar a inferência de IA no próprio cluster GKE.

Quando usar

  • ✓Quando você quiser mover uma carga de trabalho de inferência de IA do Cloud Run, da API Gemini ou de uma VM para o GKE.
  • ✓Quando precisar de um plano guiado por arquiteto para inferência autogerenciada no GKE.
  • ✓Quando você estiver no meio de uma migração de IA para o GKE e tiver perguntas de acompanhamento.

Link da skill

https://github.com/google/skills/blob/main/skills/cloud/google-cloud-solution-guided-gke-ai-migration/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/google/skills/blob/main/skills/cloud/google-cloud-solution-guided-gke-ai-migration/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Me ajude a mover meu serviço de modelo de IA do Cloud Run para inferência autogerenciada no GKE, um passo de cada vez.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

Ela segue um processo estruturado em quatro fases: perguntas de descoberta, design, execução com gcloud e kubectl e validação. Se você pedir a rota automatizada pelo servidor MCP do Gemini Cloud Assist, ela encaminha para essa rota.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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:

  1. STOP the manual workflow & clarify scope: State that google-cloud-solution-guided-gke-ai-migration is strictly intended for manual, architect-guided migration using native CLIs (gcloud and kubectl), and that this manual skill workflow is being stopped.
  2. 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).
  3. Link to MCP Documentation: Provide a valid hyperlink to the Gemini Cloud Assist MCP Documentation.
  4. 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 gcloud inspection commands (list, describe) directly and summarize the results.
      • Phases 2-4: write manifests to disk, then present the exact gcloud and kubectl commands 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.
    • Favor raw Kubernetes manifests, native CLIs (gcloud for infrastructure, kubectl for 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.
  • Node Provisioning:
    • Utilize **Custom
Perguntas frequentes

Ela usa o servidor MCP do Gemini Cloud Assist?

Somente se você pedir. Se solicitar essa automação, a skill interrompe as etapas manuais e indica essa opção.

Quais ferramentas a migração usa?

gcloud e kubectl.

Ela cobre migração automatizada?

Não. Ela cobre apenas a migração manual guiada por arquiteto.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
22 mil
Posição no ranking
#10323
Licença
Apache-2.0
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas