gke-inference

Automate AI/ML inference deployment on Google Kubernetes Engine with GPUs and TPUs.

Updated Jun 26, 2026
One-click install
npx skills add https://github.com/wangx7/skills-collection --skill gke-inference
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gke-inference
Source: https://github.com/wangx7/skills-collection/tree/main/google-skills/skills/cloud/gke-inference
Command: npx skills add https://github.com/wangx7/skills-collection --skill gke-inference

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploying AI/ML inference workloads on GKE requires deep expertise in GKE GPU/TPU resource configuration, Kubernetes manifest generation, and model server setup, creating significant manual effort and risk of misconfiguration for engineering teams. This Skill eliminates that friction by providing a guided, best-practice-driven workflow for end-to-end inference deployment.

Core Features & Use Cases

  • Validated Manifest Generation: Automatically generate production-ready Kubernetes manifests for LLMs (Llama, Gemma, Mistral) and other AI models using Google's Inference Quickstart, with pre-validated model-accelerator-server combinations to avoid invalid configurations.
  • Accelerator & Resource Configuration: Select and configure optimal GPU/TPU accelerators, GKE Autopilot ComputeClasses, and resource quotas for inference workloads based on model size, latency requirements, and cost constraints.
  • Production Optimization & Autoscaling: Implement GPU-based autoscaling, quantization, batching, and KV cache optimization to maximize throughput and minimize latency for LLM serving, with troubleshooting guidance for common deployment issues. Real-world use case: An ML engineering team can use this Skill to deploy a Gemma 2 9B model for real-time customer support in under an hour, with automatic scaling to handle peak traffic and optimized GPU utilization to reduce cloud costs.

Quick Start

Use the gke-inference skill to generate a validated Kubernetes manifest for deploying your Llama 3 8B model on GKE with vLLM and an NVIDIA L4 accelerator optimized for low-latency inference.

Frequently Asked Questions about gke-inference

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy an LLM on GKE for low-latency inference?

To deploy an LLM on GKE, you can use this Skill to automatically generate validated Kubernetes manifests with pre-configured model-accelerator-server combinations like vLLM and NVIDIA L4 GPUs for low-latency inference.

What's the best way to configure GPU and TPU resource allocation for model serving on GKE?

Configuring GPU and TPU resources for model serving on GKE is handled by selecting optimal GKE Autopilot ComputeClasses and resource quotas based on your model size, latency requirements, and cost constraints.

Does GKE Autopilot support validated model-accelerator-server combinations for LLM deployment?

Yes, GKE Autopilot supports validated model-accelerator-server combinations for LLM deployment, allowing you to avoid invalid configurations when serving models like Llama, Gemma, and Mistral.

Can I set up GPU-based autoscaling and quantization for AI workloads on Google Kubernetes Engine?

You can set up GPU-based autoscaling, quantization, batching, and KV cache optimization for AI workloads on Google Kubernetes Engine to maximize throughput and minimize latency for LLM serving.

Why does my GKE inference deployment fail with invalid accelerator configurations?

GKE inference deployments fail with invalid configurations when using unvalidated model-accelerator-server combinations; this Skill provides pre-validated combinations and troubleshooting guidance to resolve common deployment issues.

When do I need GKE Autopilot ComputeClass configuration for AI inference?

You need GKE Autopilot ComputeClass configuration for AI inference when deploying latency-sensitive workloads that require specific GPU or TPU accelerators to meet production-grade optimization standards.