gke-basics
它能做什么
这个技能指导设置和运行 Google Kubernetes Engine,这是一项用于容器应用的托管服务。适合在 Google Cloud 上部署容器的开发者和运维人员。
适用场景
- ✓你想在 Google Cloud 上创建新的 Kubernetes 集群的时候。
- ✓你需要在 Autopilot 和 Standard 集群模式之间做选择的时候。
- ✓你想在 Google Kubernetes Engine 上运行 AI 或机器学习推理的时候。
技能链接
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/gke-basics/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我创建一个可用于生产环境的 Google Kubernetes Engine 集群。”
每周 5 个新技能,1 分钟读完。
工作原理
这个技能从一个名为“黄金路径”的标准设置开始,然后提供关于网络、安全、扩展和成本的参考说明。它还列出了创建集群和部署第一个应用的命令。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Google Kubernetes Engine (GKE) Basics
GKE is a managed Kubernetes platform on Google Cloud for deploying, scaling, and operating containerized applications. This skill defaults to the golden path Autopilot configuration — see gke-golden-path.md for defaults, rules, and guardrails.
Quick Start
gcloud services enable container.googleapis.com --quiet
gcloud container clusters create-auto my-cluster --region=us-central1 --quiet
gcloud container clusters get-credentials my-cluster --region=us-central1 --quiet
kubectl create deployment hello-server \
--image=us-docker.pkg.dev/google-samples/containers/gke/hello-app:1.0
Reference Directory
Load the relevant reference based on trigger keywords. Prefer the most specific match; if ambiguous, ask the user to clarify.
| Scenario | Trigger Keywords | Reference |
|---|---|---|
| Core Concepts | Autopilot vs Standard, architecture, pricing, what is GKE | core-concepts.md |
| Golden Path & Defaults | golden path, Day-0 checklist, production defaults, cluster defaults | gke-golden-path.md |
| Cluster Creation | create cluster, new cluster, provision GKE | gke-cluster-creation.md |
| Networking | private cluster, VPC, subnet, Gateway API, DNS, ingress, egress, datapath | gke-networking.md |
| Security & IAM | Workload Identity, Secret Manager, RBAC, Binary Auth, hardening, audit, gVisor, IAM roles | gke-security.md |
| Scaling | HPA, VPA, autoscaler, autoscaling, NAP, scale pods, scale nodes | gke-scaling.md |
| Compute Classes | ComputeClass, machine family, Spot fallback, GPU node pool, node selection | gke-compute-classes.md |
| Cost | cost, savings, Spot VMs, rightsizing, CUD, optimize spend, budget | gke-cost.md |
| AI/ML Inference | inference, model serving, LLM, GPU, TPU, GIQ, vLLM | gke-inference.md |
| Upgrades | upgrade, maintenance window, release channel, patching, version | gke-upgrades.md |
| Observability | monitoring, logging, Prometheus, Grafana, metrics, alerts, dashboards | gke-observability.md |
| Multi-tenancy | multi-tenant, namespace isolation, team access, enterprise, RBAC planning | gke-multitenancy.md |
| Batch & HPC | batch, HPC, job queue, high performance, MPI, parallel | gke-batch-hpc.md |
| App Onboarding | containerize, deploy app, Dockerfile, onboard, migrate to GKE | gke-app-onboarding.md |
| Backup & DR | backup, restore, disaster recovery, CMEK | gke-backup-dr.md |
| Storage | storage, PVC, persistent volume, StorageClass, Filestore, GCS FUSE | gke-storage.md |
| Reliability | PDB, health probe, liveness, readiness, topology spread, graceful shutdown | gke-reliability.md |
| Client Libraries | client library, client-go, kubernetes python, kubernetes java, kubernetes SDK | client-library-usage.md |
| Infrastructure as Code | Terraform, IaC, HCL, infrastructure as code | iac-usage.md |
| MCP Server | MCP tools, MCP server, MCP setup | mcp-usage.md |
| CLI / Tools | gcloud, kubectl, commands, how to | cli-reference.md |
| Production Audit | production readiness, compliance, golden path check | gke-cluster-creation.md |
If you need product information not found in these references, use the Developer Knowledge MCP server search_documents tool.
常见问题
什么是 Autopilot?
Autopilot 是由 Google 为你管理集群机器的模式,因此需要维护的内容更少。
它包括快速入门吗?
包括。它列出了启用服务、创建集群和部署示例应用的命令。
它涵盖哪些主题?
网络、安全、可观测性、扩展、成本,以及集群上的 AI 或机器学习推理。
详情
作者的原始描述
Plans, creates, and configures production-ready Google Kubernetes Engine (GKE) clusters using the golden path Autopilot configuration. Covers networking, security, observability, scaling, cost optimization, and AI/ML inference on GKE.
热度
- GitHub 星标
- 33k
- 排名
- #8765
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
owasp-security
33k教你的智能体掌握面向网页应用、API、移动端、容器和 AI 智能体的 OWASP 安全指南,以便发现常见弱点并提出修复建议。
agent-management
33k让你的智能体使用 AI Maestro 命令行工具创建、列出、休眠、唤醒、重命名和删除 AI 智能体,管理每个智能体的生命周期。
agent-messaging
33k让你的智能体使用智能体消息协议,在 AI 智能体之间发送、接收和回复带签名的消息,大部分在你自己的电脑上完成。
docs-search
33k让你的智能体搜索自动生成的代码文档,查找函数签名、类定义和注释,从而在修改代码之前核对真实的 API。