본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)22k · #10282

gke-cluster-creation

하는 일

AI 에이전트가 GKE 클러스터 유형을 고르고 만드는 과정을 안내합니다. 기존 클러스터가 운영 준비가 되었는지 점검하는 일도 합니다.

사용하는 경우

  • ✓개발용이나 운영용으로 새 GKE 클러스터가 필요할 때.
  • ✓Autopilot, Standard Regional, GPU 추론 같은 클러스터 템플릿을 비교하고 싶을 때.
  • ✓기존 GKE 클러스터가 운영 준비가 되었는지 확인하고 싶을 때.

스킬 링크

https://github.com/google/skills/blob/main/skills/cloud/gke-cluster-creation/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/google/skills/blob/main/skills/cloud/gke-cluster-creation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“운영 환경에 맞는 GKE 클러스터를 만들어 주세요. 어떤 템플릿이 가장 잘 맞는지도 알려 주시겠어요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 기존 클러스터를 살펴보고, 프로젝트와 위치 정보를 모은 뒤, 각 템플릿의 장단점을 설명하고, 선택한 설정으로 클러스터를 만듭니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

GKE Cluster Creation

This reference guides creating Google Kubernetes Engine (GKE) clusters by providing a set of best-practice templates and guiding through mode selection and customization. The golden path Autopilot configuration is the default for all new clusters.

MCP Tools: list_clusters, create_cluster, get_cluster, list_operations, get_operation

Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read Usage Attribution. For commands executed directly in the terminal (never in generated scripts, Terraform, or user code), prefix gcloud with CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:gke-cluster-creation)" and append agent-skills/1.0 (skill:gke-cluster-creation) to User-Agent headers.

Workflow

  1. Discover context: Use list_clusters to see existing clusters. Use gcloud config get-value project if project unknown.
  2. Gather inputs: project_id, location (region or zone), cluster_name, environment type. If missing essential details, ask the user before taking action.
  3. Select mode & explain trade-offs: If the user hasn't specified a template or mode, present the available templates (e.g., Autopilot, Standard Regional, GPU Inference, AI Hypercompute) and explain key trade-offs (Cost vs. Availability, Autopilot vs. Standard node management).
  4. Configure networking: auto-create subnet (default) or bring-your-own.
  5. Review golden path settings: present the default configuration block (gcloud command or create_cluster JSON payload) and confirm with the user before creation.
  6. Create: Use MCP create_cluster tool or gcloud CLI.
  7. Track: Use get_operation to monitor creation progress.
  8. Verify: Use get_cluster with readMask="*" to confirm golden path settings applied.

Mode Selection

Criteria Autopilot (Golden Path) Standard
Node management Google-managed Self-managed
Pricing Pay per pod resource Pay per node (VM)
: : request : :
Node customization Via ComputeClasses Full control
DaemonSets Allowed (with Full control
: : restrictions) : :
GPU/TPU Supported via Supported via node pools
: : ComputeClasses : :
Best for Most production workloads Kernel tuning, custom OS,
: : : privileged workloads :

Rule: Default to Autopilot unless the customer has a specific requirement that Autopilot cannot satisfy.

Best Practices

When guiding the user or generating configurations, adhere to these GKE best practices:

Security & Networking

  1. Private Clusters: Default to private clusters (enablePrivateNodes: true) with a private control plane and restricted public endpoints (enable-master-authorized-networks) to minimize attack surface.
  2. VPC-Native Networking: Use VPC-native clusters (useIpAliases: true / --enable-ip-alias) to enable alias IP ranges and pod-level firewall rules.
  3. Workload Identity: Prefer Workload Identity (workloadPool: <PROJECT_ID>.svc.id.goog) for securely granting GKE workloads access to Google Cloud services instead of static service account keys.
  4. Shielded GKE Nodes: Enable Shielded GKE Nodes (--enable-shielded-nodes, --enable-secure-boot) against rootkits and bootkits.
  5. Least Privilege (RBAC): Institute strict Role-Based Access Control limits (scoped-rbs-bindings).

Cost Optimization

  1. Autoscaling: Enable Cluster Autoscaler and Horizontal/Vertical Pod Autoscaler (--enable-autoscaling, --enable-vertical-pod-autoscaling) to adjust resources based on demand.
  2. Right-Sizing & Spot VMs: Choose appropriate machine types and node counts. Consider Spot VMs (--spot) for fault-tolerant, non-critical batch or inference workloads.

High Availability & Reliability

  1. Regional Clusters: Use Regional Clusters for production environ
자주 묻는 질문

어떤 템플릿이 있나요?

Autopilot, Standard Regional, GPU와 AI 추론, AI Hypercompute 템플릿이 있습니다.

앱 배포도 도와주나요?

아니요. 앱 온보딩이나 배포 설정은 스킬이 앱 온보딩 가이드를 안내합니다.

먼저 질문하나요?

네. 프로젝트나 위치 같은 핵심 정보가 없으면 실행 전에 먼저 묻습니다.

상세 정보

작성자의 원본 설명

Plans and executes GKE cluster creation, provisioning, and production readiness audits using pre-defined templates (Autopilot, Standard Regional, GPU/AI Inference, AI Hypercompute). Use when creating GKE clusters, provisioning GKE environments, selecting cluster modes, or auditing GKE clusters. Don't use for application onboarding or deployment configuration (use gke-app-onboarding instead).

repo: google/skills

인기도

GitHub 스타
22k
순위
#10282
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬