Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

gke-inference

Skill by google

Deploys and optimizes AI and ML inference workloads on Google Kubernetes Engine (GKE) using GPUs, TPUs, and model servers. It is for teams deploying LLMs such as Llama, Gemma, or Mistral to GKE.

  • Score 92
  • 25k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install gke-inference

Built from the published package, never by AI.

git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloud/gke-inference ~/.claude/skills/gke-inference

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install gke-inference in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The gke-inference skill is a reference for deploying AI and ML inference workloads on Google Kubernetes Engine (GKE). It uses Google's Inference Quickstart (GIQ) and covers best practices for LLM serving. The workflow starts by finding supported models and valid accelerator and model server combinations with gcloud container ai profiles commands. It then generates a Kubernetes manifest for a chosen model, model server, and accelerator type.

The skill also covers a GPU ComputeClass for Autopilot clusters, an accelerator selection guide for NVIDIA GPUs and Cloud TPUs, autoscaling for LLM inference, and optimization tips such as quantization and tensor parallelism. It includes a troubleshooting table. It is for users who deploy models to GKE. The source directs migration work, RAG with Cloud SQL or AlloyDB, and batch or HPC workloads to other skills.

Written from the project's SKILL.md and checked against it.

What it can do

  • Model discoveryLists supported models and valid accelerator and server combinations using gcloud container ai profiles.
  • Manifest generationCreates a Kubernetes inference manifest with gcloud container ai profiles manifests create.
  • GPU ComputeClassProvides a sample ComputeClass to target GPU nodes on GKE Autopilot clusters.
  • Accelerator selectionGuide comparing NVIDIA GPUs and Cloud TPUs by best use, memory, and relative cost.
  • LLM autoscalingShows a HorizontalPodAutoscaler example using GPU duty cycle and gives scaling best practices.
  • Optimization tipsCovers quantization, batching, tensor parallelism, and vLLM KV cache tuning.
  • TroubleshootingTable of common issues such as invalid combinations, quota limits, GPU out of memory, and slow cold starts.

What you need

  • gcloud CLI, authenticated
  • GKE Autopilot cluster (golden path)
  • Sufficient GPU or TPU quota in the target region
  • Hugging Face token for some models

Try asking

  • Generate a vLLM manifest for gemma-2-9b-it on an NVIDIA L4 GPU
  • List the accelerator and server combinations available for llama-3-8b
  • Help me create an L4 ComputeClass for inference on Autopilot

Good to know

  • Requires a GKE Autopilot cluster following the golden path.
  • Some models need Hugging Face tokens stored in a Kubernetes Secret.
  • Requires sufficient GPU or TPU quota in the target region.
  • Some gcloud container ai profiles commands are CLI-only, not MCP tools.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/cloud/gke-inference/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB
  • references/attribution.md2 KB

Alternatives to gke-inference

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

gke-inference: common questions

Which model servers does gke-inference support?

The manifest command lists vllm, tgi, triton, and tensorrt-llm as model server options.

Which accelerators are covered?

The guide covers NVIDIA T4, L4, RTX PRO 6000, A100, H100 and H200, B200, and GB200, plus Cloud TPU v5e, v5p, v6e, and v7x.

What should I do if the GPU runs out of memory?

The source suggests using a larger GPU, enabling quantization, or using tensor parallelism.

How do I install gke-inference?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is gke-inference free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is gke-inference safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to gke-inference?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

gke-inference Install

Add to stack

Loading.