[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7213BVY8Y7325E1A9G5HP2W":3,"skill-same:01M7213BVY8Y7325E1A9G5HP2W":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7213BVY8Y7325E1A9G5HP2W","gke-cluster-creation",null,"Plans and executes GKE cluster creation, provisioning, and production readiness audits using pre-defined templates (Autopilot, Standard Regional, GPU\u002FAI 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).","gke-labs\u002Fkube-agents","gke-labs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F197140281?v=4","01M720MEZR8K6WD2WTHNQE346Q","01M720MF0BRA9RGH1QVT4J0M0E",126,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-cluster-creation\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: gke-cluster-creation\ndescription: >-\n  Plans and executes GKE cluster creation, provisioning, and production\n  readiness audits using pre-defined templates (Autopilot, Standard Regional,\n  GPU\u002FAI Inference, AI Hypercompute). Use when creating GKE clusters,\n  provisioning GKE environments, selecting cluster modes, or auditing GKE\n  clusters. Don't use for application onboarding or deployment configuration\n  (use gke-app-onboarding instead).\nmetadata:\n  category: Containers\n---\n\n# GKE Cluster Creation\n\nThis reference guides creating Google Kubernetes Engine (GKE) clusters by\nproviding a set of best-practice templates and guiding through mode selection\nand customization. The **golden path Autopilot** configuration is the default\nfor all new clusters.\n\n> **MCP Tools:** `list_clusters`, `create_cluster`, `get_cluster`,\n> `list_operations`, `get_operation`\n\n## Workflow\n\n1.  **Discover context**: Use `list_clusters` to see existing clusters. Use\n    `gcloud config get-value project` if project unknown.\n2.  **Gather inputs**: `project_id`, `location` (region or zone),\n    `cluster_name`, environment type. If missing essential details, ask the user\n    before taking action.\n3.  **Select mode & explain trade-offs**: If the user hasn't specified a\n    template or mode, present the available templates (e.g., Autopilot, Standard\n    Regional, GPU Inference, AI Hypercompute) and explain key trade-offs (Cost\n    vs. Availability, Autopilot vs. Standard node management).\n4.  **Configure networking**: auto-create subnet (default) or bring-your-own.\n5.  **Review golden path settings**: present the default configuration block\n    (`gcloud` command or `create_cluster` JSON payload) and confirm with the\n    user before creation.\n6.  **Create**: Use MCP `create_cluster` tool or `gcloud` CLI.\n7.  **Track**: Use `get_operation` to monitor creation progress.\n8.  **Verify**: Use `get_cluster` with `readMask=\"*\"` to confirm golden path\n    settings applied.\n\n## Mode Selection\n\n| Criteria           | Autopilot (Golden Path)   | Standard                  |\n| ------------------ | ------------------------- | ------------------------- |\n| Node management    | Google-managed            | Self-managed              |\n| Pricing            | Pay per pod resource      | Pay per node (VM)         |\n:                    : request                   :                           :\n| Node customization | Via ComputeClasses        | Full control              |\n| DaemonSets         | Allowed (with             | Full control              |\n:                    : restrictions)             :                           :\n| GPU\u002FTPU            | Supported via             | Supported via node pools  |\n:                    : ComputeClasses            :                           :\n| Best for           | Most production workloads | Kernel tuning, custom OS, |\n:                    :                           : privileged workloads      :\n\n> **Rule**: Default to Autopilot unless the customer has a specific requirement\n> that Autopilot cannot satisfy.\n\n## Best Practices\n\nWhen guiding the user or generating configurations, adhere to these GKE best\npractices:\n\n### Security & Networking\n\n1.  **Private Clusters**: Default to private clusters (`enablePrivateNodes:\n    true`) with a private control plane and restricted public endpoints\n    (`enable-master-authorized-networks`) to minimize attack surface.\n2.  **VPC-Native Networking**: Use VPC-native clusters (`useIpAliases: true` \u002F\n    `--enable-ip-alias`) to enable alias IP ranges and pod-level firewall rules.\n3.  **Workload Identity**: Prefer Workload Identity (`workloadPool:\n    \u003CPROJECT_ID>.svc.id.goog`) for securely granting GKE workloads access to\n    Google Cloud services instead of static service account keys.\n4.  **Shielded GKE Nodes**: Enable Shielded GKE Nodes\n    (`--enable-shielded-nodes`, `--enable-secure-boot`) against rootkits and\n    bootkits.\n5.  **Least Privilege (RBAC)**: Institute strict Role-Based Access Control\n    limits (`scoped-rbs-bindings`).\n\n### Cost Optimization\n\n1.  **Autoscaling**: Enable Cluster Autoscaler and Horizontal\u002FVertical Pod\n    Autoscaler (`--enable-autoscaling`, `--enable-vertical-pod-autoscaling`) to\n    adjust resources based on demand.\n2.  **Right-Sizing & Spot VMs**: Choose appropriate machine types and node\n    counts. Consider Spot VMs (`--spot`) for fault-tolerant, non-critical batch\n    or inference workloads.\n\n### High Availability & Reliability\n\n1.  **Regional Clusters**: Use Regional Clusters for production environments to\n    ensure control plane replication across multiple zones (`--region` instead\n    of `--zone`). *Note: Standard regional creates nodes across 3 zones by\n    default.*\n2.  **Pod Disruption Budgets**: Recommend setting Pod Disruption Budgets for\n    application stability during node maintenance.\n3.  **Release Channels**: Subscribe to a release channel (`REGULAR` or `STABLE`)\n    for automated, safer cluster upgrades.\n\n## Templates\n\n### 1. Golden Path Autopilot (Production)\n\nThis is the default. All settings match\n`..\u002Fgke-golden-path\u002Fassets\u002Fgolden-path-autopilot.yaml`.\n\n**Via gcloud:**\n\n```bash\ngcloud container clusters create-auto \u003CCLUSTER_NAME> \\\n  --region \u003CREGION> \\\n  --project \u003CPROJECT_ID> \\\n  --release-channel regular \\\n  --enable-private-nodes \\\n  --enable-master-authorized-networks \\\n  --enable-dns-access \\\n  --enable-secret-manager \\\n  --secret-manager-rotation-interval=120s \\\n  --scoped-rbs-bindings \\\n  --monitoring=SYSTEM,API_SERVER,SCHEDULER,CONTROLLER_MANAGER,STORAGE,POD,DEPLOYMENT,STATEFULSET,DAEMONSET,HPA,CADVISOR,KUBELET,DCGM \\\n  --quiet\n```\n\n**Via MCP (`create_cluster`):**\n\n```json\n{\n  \"parent\": \"projects\u002F\u003CPROJECT_ID>\u002Flocations\u002F\u003CREGION>\",\n  \"cluster\": {\n    \"name\": \"\u003CCLUSTER_NAME>\",\n    \"autopilot\": { \"enabled\": true },\n    \"privateClusterConfig\": { \"enablePrivateNodes\": true },\n    \"masterAuthorizedNetworksConfig\": {\n      \"privateEndpointEnforcementEnabled\": true\n    },\n    \"releaseChannel\": { \"channel\": \"REGULAR\" },\n    \"secretManagerConfig\": {\n      \"enabled\": true,\n      \"rotationConfig\": { \"enabled\": true, \"rotationInterval\": \"120s\" }\n    },\n    \"rbacBindingConfig\": {\n      \"enableInsecureBindingSystemAuthenticated\": false,\n      \"enableInsecureBindingSystemUnauthenticated\": false\n    }\n  }\n}\n```\n\n### 2. Autopilot Dev\u002FTest\n\nRelaxes some golden path defaults for cost savings and easier access in\nnon-production.\n\n**Via gcloud:**\n\n```bash\ngcloud container clusters create-auto \u003CCLUSTER_NAME> \\\n  --region \u003CREGION> \\\n  --project \u003CPROJECT_ID> \\\n  --release-channel rapid \\\n  --quiet\n```\n\n**Via MCP (`create_cluster`):**\n\n```json\n{\n  \"parent\": \"projects\u002F\u003CPROJECT_ID>\u002Flocations\u002F\u003CREGION>\",\n  \"cluster\": {\n    \"name\": \"\u003CCLUSTER_NAME>\",\n    \"autopilot\": { \"enabled\": true },\n    \"releaseChannel\": { \"channel\": \"RAPID\" }\n  }\n}\n```\n\n> **Warning**: This does not apply golden path security hardening. Suitable for\n> dev\u002Ftest only.\n\n### 3. Standard Regional (High Availability \u002F Custom Requirements)\n\nBest when Autopilot cannot be used (e.g., custom kernel tuning, specific node OS\nrequirements). Creates 3 nodes across zones by default.\n\n**Via gcloud:**\n\n```bash\ngcloud container clusters create \u003CCLUSTER_NAME> \\\n  --region \u003CREGION> \\\n  --project \u003CPROJECT_ID> \\\n  --num-nodes 3 \\\n  --machine-type e2-standard-4 \\\n  --disk-type pd-balanced \\\n  --enable-autoscaling --min-nodes 1 --max-nodes 10 \\\n  --enable-shielded-nodes --enable-secure-boot \\\n  --workload-pool=\u003CPROJECT_ID>.svc.id.goog \\\n  --enable-private-nodes \\\n  --enable-master-authorized-networks \\\n  --enable-vertical-pod-autoscaling \\\n  --enable-dataplane-v2 \\\n  --release-channel regular \\\n  --quiet\n```\n\n**Via MCP (`create_cluster`):**\n\n```json\n{\n  \"parent\": \"projects\u002F\u003CPROJECT_ID>\u002Flocations\u002F\u003CREGION>\",\n  \"cluster\": {\n    \"name\": \"\u003CCLUSTER_NAME>\",\n    \"initialNodeCount\": 3,\n    \"nodeConfig\": {\n      \"machineType\": \"e2-standard-4\",\n      \"diskType\": \"pd-balanced\",\n      \"diskSizeGb\": 100,\n      \"oauthScopes\": [\"https:\u002F\u002Fwww.googleapis.com\u002Fauth\u002Fcloud-platform\"],\n      \"shieldedInstanceConfig\": {\n        \"enableSecureBoot\": true,\n        \"enableIntegrityMonitoring\": true\n      },\n      \"workloadMetadataConfig\": {\n        \"mode\": \"GKE_METADATA\"\n      }\n    },\n    \"privateClusterConfig\": { \"enablePrivateNodes\": true },\n    \"releaseChannel\": { \"channel\": \"REGULAR\" },\n    \"workloadIdentityConfig\": {\n      \"workloadPool\": \"\u003CPROJECT_ID>.svc.id.goog\"\n    }\n  }\n}\n```\n\n### 4. GPU Inference & AI Workloads (L4 \u002F ComputeClass)\n\nBest for: AI\u002FML Inference, small model serving. Can be provisioned via\nAutopilot + ComputeClass or via Standard node pool with `g2-standard-4`\n(`nvidia-l4`). *Note: Requires `g2-standard-4` quota.*\n\n**Autopilot ComputeClass \u002F GIQ approach:**\n\n```bash\n# 1. Create golden path cluster (same as template 1)\ngcloud container clusters create-auto \u003CCLUSTER_NAME> \\\n  --region \u003CREGION> --project \u003CPROJECT_ID> \\\n  --enable-private-nodes --enable-master-authorized-networks \\\n  --enable-dns-access --enable-secret-manager --scoped-rbs-bindings \\\n  --quiet\n\n# 2. Apply GPU ComputeClass (see gke-compute-classes.md)\nkubectl apply -f gpu-compute-class.yaml\n\n# 3. Or use GIQ for inference (see gke-inference.md)\ngcloud container ai profiles manifests create \\\n  --model=gemma-2-9b-it --model-server=vllm --accelerator-type=nvidia-l4 --quiet > inference.yaml\nkubectl apply -f inference.yaml\n```\n\n**Standard Node Pool approach via MCP (`create_cluster`):**\n\n```json\n{\n  \"parent\": \"projects\u002F\u003CPROJECT_ID>\u002Flocations\u002F\u003CREGION>\",\n  \"cluster\": {\n    \"name\": \"\u003CCLUSTER_NAME>\",\n    \"initialNodeCount\": 1,\n    \"nodeConfig\": {\n      \"machineType\": \"g2-standard-4\",\n      \"accelerators\": [\n        {\n          \"acceleratorCount\": \"1\",\n          \"acceleratorType\": \"nvidia-l4\"\n        }\n      ],\n      \"diskSizeGb\": 100,\n      \"oauthScopes\": [\"https:\u002F\u002Fwww.googleapis.com\u002Fauth\u002Fcloud-platform\"]\n    }\n  }\n}\n```\n\n### 5. AI Hypercompute (A3 HighGPU \u002F Large Model Serving)\n\nBest for: Large-scale LLM \u002F AI model training and hypercompute inference. *Note:\nHigh hourly cost and strict quota requirements (`a3-highgpu-8g` \u002F\n`nvidia-h100-80gb-hbm3`).*\n\n**Via gcloud:**\n\n```bash\ngcloud container clusters create \u003CCLUSTER_NAME> \\\n  --region \u003CREGION> \\\n  --project \u003CPROJECT_ID> \\\n  --num-nodes 1 \\\n  --machine-type a3-highgpu-8g \\\n  --accelerator type=nvidia-h100-80gb-hbm3,count=8 \\\n  --disk-size 200 \\\n  --scopes https:\u002F\u002Fwww.googleapis.com\u002Fauth\u002Fcloud-platform \\\n  --workload-pool=\u003CPROJECT_ID>.svc.id.goog \\\n  --release-channel regular \\\n  --quiet\n```\n\n**Via MCP (`create_cluster`):**\n\n```json\n{\n  \"parent\": \"projects\u002F\u003CPROJECT_ID>\u002Flocations\u002F\u003CREGION>\",\n  \"cluster\": {\n    \"name\": \"\u003CCLUSTER_NAME>\",\n    \"initialNodeCount\": 1,\n    \"nodeConfig\": {\n      \"machineType\": \"a3-highgpu-8g\",\n      \"accelerators\": [\n        {\n          \"acceleratorCount\": \"8\",\n          \"acceleratorType\": \"nvidia-h100-80gb-hbm3\"\n        }\n      ],\n      \"diskSizeGb\": 200,\n      \"oauthScopes\": [\"https:\u002F\u002Fwww.googleapis.com\u002Fauth\u002Fcloud-platform\"]\n    }\n  }\n}\n```\n\n## Instructions\n\n-   **ALWAYS** ask for `project_id` if not in context.\n-   **ALWAYS** ask for `region` (or location).\n-   **ALWAYS** ask for a unique `cluster_name`.\n-   **DEFAULT** to golden path Autopilot unless customer specifies otherwise or\n    has custom node\u002Fkernel\u002Fhypercompute requirements.\n-   **ALWAYS WARN** when deviating to GKE Standard, highlighting that it\n    deviates from the golden path and explaining the added\n    operational\u002Fmanagement overhead (manually managing node pools, upgrades, and\n    autoscaling).\n-   **EXPLAIN TRADE-OFFS** when presenting templates or mode choices to the user\n    if they haven't specified one (e.g., Autopilot vs Standard, Cost vs\n    Availability).\n-   **PRESENT THE CONFIGURATION** block (`gcloud` command or JSON payload) and\n    ask for confirmation before calling any creation tool.\n-   **WARN** about Day-0 decisions (networking, private nodes) that are hard to\n    change later.\n-   **WARN** explicitly about cost and quota requirements when the user selects\n    GPU (`g2-standard-4`, `a3-highgpu-8g`), TPU, or multi-region\u002Fregional\n    clusters (`--region` defaults to 3 zones).\n-   When using MCP `create_cluster`, the `cluster.name` parameter should be the\n    **short name** (e.g., `my-cluster`), not the full resource path\n    (`projects\u002F\u003CPROJECT_ID>\u002Flocations\u002F\u003CREGION>\u002Fclusters\u002F\u003CCLUSTER_NAME>`). The\n    `parent` parameter defines the scope\n    (`projects\u002F\u003CPROJECT_ID>\u002Flocations\u002F\u003CREGION>`).\n","# GKE Cluster Creation\n\nThis reference guides creating Google Kubernetes Engine (GKE) clusters by\nproviding a set of best-practice templates and guiding through mode selection\nand customization. The **golden path Autopilot** configuration is the default\nfor all new clusters.\n\n> **MCP Tools:** `list_clusters`, `create_cluster`, `get_cluster`,\n> `list_operations`, `get_operation`\n\n## Workflow\n\n1.  **Discover context**: Use `list_clusters` to see existing clusters. Use\n    `gcloud config get-value project` if project unknown.\n2.  **Gather inputs**: `project_id`, `location` (region or zone),\n    `cluster_name`, environment type. If missing essential details, ask the user\n    before taking action.\n3.  **Select mode & explain trade-offs**: If the user hasn't specified a\n    template or mode, present the available templates (e.g., Autopilot, Standard\n    Regional, GPU Inference, AI Hypercompute) and explain key trade-offs (Cost\n    vs. Availability, Autopilot vs. Standard node management).\n4.  **Configure networking**: auto-create subnet (default) or bring-your-own.\n5.  **Review golden path settings**: present the default configuration block\n    (`gcloud` command or `create_cluster` JSON payload) and confirm with the\n    user before creation.\n6.  **Create**: Use MCP `create_cluster` tool or `gcloud` CLI.\n7.  **Track**: Use `get_operation` to monitor creation progress.\n8.  **Verify**: Use `get_cluster` with `readMask=\"*\"` to confirm golden path\n    settings applied.\n\n## Mode Selection\n\n| Criteria           | Autopilot (Golden Path)   | Standard                  |\n| ------------------ | ------------------------- | ------------------------- |\n| Node management    | Google-managed            | Self-managed              |\n| Pricing            | Pay per pod resource      | Pay per node (VM)         |\n:                    : request                   :                           :\n| Node customization | Via ComputeClasses        | Full control              |\n| DaemonSets         | Allowed (with             | Full control              |\n:                    : restrictions)             :                           :\n| GPU\u002FTPU            | Supported via             | Supported via node pools  |\n:                    : ComputeClasses            :                           :\n| Best for           | Most production workloads | Kernel tuning, custom OS, |\n:                    :                           : privileged workloads      :\n\n> **Rule**: Default to Autopilot unless the customer has a specific requirement\n> that Autopilot cannot satisfy.\n\n## Best Practices\n\nWhen guiding the user or generating configurations, adhere to these GKE best\npractices:\n\n### Security & Networking\n\n1.  **Private Clusters**: Default to private clusters (`enablePrivateNodes:\n    true`) with a private control plane and restricted public endpoints\n    (`enable-master-authorized-networks`) to minimize attack surface.\n2.  **VPC-Native Networking**: Use VPC-native clusters (`useIpAliases: true` \u002F\n    `--enable-ip-alias`) to enable alias IP ranges and pod-level firewall rules.\n3.  **Workload Identity**: Prefer Workload Identity (`workloadPool:\n    \u003CPROJECT_ID>.svc.id.goog`) for securely granting GKE workloads access to\n    Google Cloud services instead of static service account keys.\n4.  **Shielded GKE Nodes**: Enable Shielded GKE Nodes\n    (`--enable-shielded-nodes`, `--enable-secure-boot`) against rootkits and\n    bootkits.\n5.  **Least Privilege (RBAC)**: Institute strict Role-Based Access Control\n    limits (`scoped-rbs-bindings`).\n\n### Cost Optimization\n\n1.  **Autoscaling**: Enable Cluster Autoscaler and Horizontal\u002FVertical Pod\n    Autoscaler (`--enable-autoscaling`, `--enable-vertical-pod-autoscaling`) to\n    adjust resources based on demand.\n2.  **Right-Sizing & Spot VMs**: Choose appropriate machine types and node\n    counts. Consider Spot VMs (`--spot`) for fault-tolerant, non-critical batch\n    or inference workloads.\n\n### High Availability & Reliability\n\n1.  **Regional Clusters**: Use Regional Clusters for production environments to\n    ensure control plane replication across multiple zones (`--region` instead\n    of `--zone`). *Note: Standard regional creates nodes across 3 zones by\n    default.*\n2.  **Pod Disruption Budgets**: Recommend setting Pod Disruption Budgets for\n    application stability during node maintenance.\n3.  **Release Channels**: Subscribe to a release channel (`REGULAR` or `STABLE`)\n    for automated, safer cluster upgrades.\n\n## Templates\n\n### 1. Golden Path Autopilot (Production)\n\nThis is the default. All settings match\n`..\u002Fgke-golden-path\u002Fassets\u002Fgolden-path-autopilot.yaml`.\n\n**Via gcloud:**\n\n```bash\ngcloud container clusters create-auto \u003CCLUSTER_NAME> \\\n  --region \u003CREGION> \\\n  --project \u003CPROJECT_ID> \\\n  --release-channel regular \\\n  --enable-private-nodes \\\n  --enable-master-authorized-networks \\\n  --enable-dns-access \\\n  --enable-secret-manager \\\n  --secret-manager-rotation-interval=120s \\\n  --scoped-rbs-bindings \\\n  --monitoring=SYSTEM,API_SERVER,SCHEDULER,CONTROLLER_MANAGER,STORAGE,POD,DEPLOYMENT,STATEFULSET,DAEMONSET,HPA,CADVISOR,KUBELET,DCGM \\\n  --quiet\n```\n\n**Via MCP (`create_cluster`):**\n\n```json\n{\n  \"parent\": \"projects\u002F\u003CPROJECT_ID>\u002Flocations\u002F\u003CREGION>\",\n  \"cluster\": {\n    \"name\": \"\u003CCLUSTER_NAME>\",\n    \"autopilot\": { \"enabled\": true },\n    \"privateClusterConfig\": { \"enablePrivateNodes\": true },\n    \"masterAuthorizedNetworksConfig\": {\n      \"privateEndpointEnforcementEnabled\": true\n    },\n    \"releaseChannel\": { \"channel\": \"REGULAR\" },\n    \"secretManagerConfig\": {\n      \"enabled\": true,\n      \"rotationConfig\": { \"enabled\": true, \"rotationInterval\": \"120s\" }\n    },\n    \"rbacBindingConfig\": {\n      \"enableInsecureBindingSystemAuthenticated\": false,\n      \"enableInsecureBindingSystemUnauthenticated\": false\n    }\n  }\n}\n```\n\n### 2. Autopilot Dev\u002FTest\n\nRelaxes some golden path defaults for cost savings and easier access in\nnon-production.\n\n**Via gcloud:**\n\n```bash\ngcloud container clusters create-auto \u003CCLUSTER_NAME> \\\n  --region \u003CREGION> \\\n  --project \u003CPROJECT_ID> \\\n  --release-channel rapid \\\n  --quiet\n```\n\n**Via MCP (`create_cluster`):**\n\n```json\n{\n  \"parent\": \"projects\u002F\u003CPROJECT_ID>\u002Flocations\u002F\u003CREGION>\",\n  \"cluster\": {\n    \"name\": \"\u003CCLUSTER_NAME>\",\n    \"autopilot\": { \"enabled\": true },\n    \"releaseChannel\": { \"channel\": \"RAPID\" }\n  }\n}\n```\n\n> **Warning**: This does not apply golden path security hardening. Suitable for\n> dev\u002Ftest only.\n\n### 3. Standard Regional (High Availability \u002F Custom Requirements)\n\nBest when Autopilot cannot be used (e.g., custom kernel tuning, specific node OS\nrequirements). Creates 3 nodes across zones by default.\n\n**Via gcloud:**\n\n```bash\ngcloud container clusters create \u003CCLUSTER_NAME> \\\n  --region \u003CREGION> \\\n  --project \u003CPROJECT_ID> \\\n  --num-nodes 3 \\\n  --machine-type e2-standard-4 \\\n  --disk-type pd-balanced \\\n  --enable-autoscaling --min-nodes 1 --max-nodes 10 \\\n  --enable-shielded-nodes --enable-secure-boot \\\n  --workload-pool=\u003CPROJECT_ID>.svc.id.goog \\\n  --enable-private-nodes \\\n  --enable-master-authorized-networks \\\n  --enable-vertical-pod-autoscaling \\\n  --enable-dataplane-v2 \\\n  --release-channel regular \\\n  --quiet\n```\n\n**Via MCP (`create_cluster`):**\n\n```json\n{\n  \"parent\": \"projects\u002F\u003CPROJECT_ID>\u002Flocations\u002F\u003CREGION>\",\n  \"cluster\": {\n    \"name\": \"\u003CCLUSTER_NAME>\",\n    \"initialNodeCount\": 3,\n    \"nodeConfig\": {\n      \"machineType\": \"e2-standard-4\",\n      \"diskType\": \"pd-balanced\",\n      \"diskSizeGb\": 100,\n      \"oauthScopes\": [\"https:\u002F\u002Fwww.googleapis.com\u002Fauth\u002Fcloud-platform\"],\n      \"shieldedInstanceConfig\": {\n        \"enableSecureBoot\": true,\n        \"enableIntegrityMonitoring\": true\n      },\n      \"workloadMetadataConfig\": {\n        \"mode\": \"GKE_METADATA\"\n      }\n    },\n    \"privateClusterConfig\": { \"enablePrivateNodes\": true },\n    \"releaseChannel\": { \"channel\": \"REGULAR\" },\n    \"workloadIdentityConfig\": {\n      \"workloadPool\": \"\u003CPROJECT_ID>.svc.id.goog\"\n    }\n  }\n}\n```\n\n### 4. GPU Inference & AI Workloads (L4 \u002F ComputeClass)\n\nBest for: AI\u002FML Inference, small model serving. Can be provisioned via\nAutopilot + ComputeClass or via Standard node pool with `g2-standard-4`\n(`nvidia-l4`). *Note: Requires `g2-standard-4` quota.*\n\n**Autopilot ComputeClass \u002F GIQ approach:**\n\n```bash\n# 1. Create golden path cluster (same as template 1)\ngcloud container clusters create-auto \u003CCLUSTER_NAME> \\\n  --region \u003CREGION> --project \u003CPROJECT_ID> \\\n  --enable-private-nodes --enable-master-authorized-networks \\\n  --enable-dns-access --enable-secret-manager --scoped-rbs-bindings \\\n  --quiet\n\n# 2. Apply GPU ComputeClass (see gke-compute-classes.md)\nkubectl apply -f gpu-compute-class.yaml\n\n# 3. Or use GIQ for inference (see gke-inference.md)\ngcloud container ai profiles manifests create \\\n  --model=gemma-2-9b-it --model-server=vllm --accelerator-type=nvidia-l4 --quiet > inference.yaml\nkubectl apply -f inference.yaml\n```\n\n**Standard Node Pool approach via MCP (`create_cluster`):**\n\n```json\n{\n  \"parent\": \"projects\u002F\u003CPROJECT_ID>\u002Flocations\u002F\u003CREGION>\",\n  \"cluster\": {\n    \"name\": \"\u003CCLUSTER_NAME>\",\n    \"initialNodeCount\": 1,\n    \"nodeConfig\": {\n      \"machineType\": \"g2-standard-4\",\n      \"accelerators\": [\n        {\n          \"acceleratorCount\": \"1\",\n          \"acceleratorType\": \"nvidia-l4\"\n        }\n      ],\n      \"diskSizeGb\": 100,\n      \"oauthScopes\": [\"https:\u002F\u002Fwww.googleapis.com\u002Fauth\u002Fcloud-platform\"]\n    }\n  }\n}\n```\n\n### 5. AI Hypercompute (A3 HighGPU \u002F Large Model Serving)\n\nBest for: Large-scale LLM \u002F AI model training and hypercompute inference. *Note:\nHigh hourly cost and strict quota requirements (`a3-highgpu-8g` \u002F\n`nvidia-h100-80gb-hbm3`).*\n\n**Via gcloud:**\n\n```bash\ngcloud container clusters create \u003CCLUSTER_NAME> \\\n  --region \u003CREGION> \\\n  --project \u003CPROJECT_ID> \\\n  --num-nodes 1 \\\n  --machine-type a3-highgpu-8g \\\n  --accelerator type=nvidia-h100-80gb-hbm3,count=8 \\\n  --disk-size 200 \\\n  --scopes https:\u002F\u002Fwww.googleapis.com\u002Fauth\u002Fcloud-platform \\\n  --workload-pool=\u003CPROJECT_ID>.svc.id.goog \\\n  --release-channel regular \\\n  --quiet\n```\n\n**Via MCP (`create_cluster`):**\n\n```json\n{\n  \"parent\": \"projects\u002F\u003CPROJECT_ID>\u002Flocations\u002F\u003CREGION>\",\n  \"cluster\": {\n    \"name\": \"\u003CCLUSTER_NAME>\",\n    \"initialNodeCount\": 1,\n    \"nodeConfig\": {\n      \"machineType\": \"a3-highgpu-8g\",\n      \"accelerators\": [\n        {\n          \"acceleratorCount\": \"8\",\n          \"acceleratorType\": \"nvidia-h100-80gb-hbm3\"\n        }\n      ],\n      \"diskSizeGb\": 200,\n      \"oauthScopes\": [\"https:\u002F\u002Fwww.googleapis.com\u002Fauth\u002Fcloud-platform\"]\n    }\n  }\n}\n```\n\n## Instructions\n\n-   **ALWAYS** ask for `project_id` if not in context.\n-   **ALWAYS** ask for `region` (or location).\n-   **ALWAYS** ask for a unique `cluster_name`.\n-   **DEFAULT** to golden path Autopilot unless customer specifies otherwise or\n    has custom node\u002Fkernel\u002Fhypercompute requirements.\n-   **ALWAYS WARN** when deviating to GKE Standard, highlighting that it\n    deviates from the golden path and explaining the added\n    operational\u002Fmanagement overhead (manually managing node pools, upgrades, and\n    autoscaling).\n-   **EXPLAIN TRADE-OFFS** when presenting templates or mode choices to the user\n    if they haven't specified one (e.g., Autopilot vs Standard, Cost vs\n    Availability).\n-   **PRESENT THE CONFIGURATION** block (`gcloud` command or JSON payload) and\n    ask for confirmation before calling any creation tool.\n-   **WARN** about Day-0 decisions (networking, private nodes) that are hard to\n    change later.\n-   **WARN** explicitly about cost and quota requirements when the user selects\n    GPU (`g2-standard-4`, `a3-highgpu-8g`), TPU, or multi-region\u002Fregional\n    clusters (`--region` defaults to 3 zones).\n-   When using MCP `create_cluster`, the `cluster.name` parameter should be the\n    **short name** (e.g., `my-cluster`), not the full resource path\n    (`projects\u002F\u003CPROJECT_ID>\u002Flocations\u002F\u003CREGION>\u002Fclusters\u002F\u003CCLUSTER_NAME>`). The\n    `parent` parameter defines the scope\n    (`projects\u002F\u003CPROJECT_ID>\u002Flocations\u002F\u003CREGION>`).\n",{"name":5,"metadata":23,"description":7},{"category":24},"Containers","main","af354bf2b99e17df77e52c512a7ba968c37c2306","third_party\u002Fgoogle-skills\u002Fgke-cluster-creation",44,"https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents","https:\u002F\u002Fgke-labs.github.io\u002Fkube-agents\u002F","https:\u002F\u002Fgithub.com\u002Fgke-labs","2026-11-14 20:53:19",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add gke-labs\u002Fkube-agents --skill gke-cluster-creation",{"tool":39,"command":40},"bunx","bunx skills add gke-labs\u002Fkube-agents --skill gke-cluster-creation",{"tool":42,"command":43},"pnpm","pnpm dlx skills add gke-labs\u002Fkube-agents --skill gke-cluster-creation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-cluster-creation\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":18},"01M72168JZM6CYRZFWW204PA2V","gke-workload-troubleshooting","Diagnoses GKE workload failures (CrashLoopBackOff, OOMKilled, ImagePullBackOff, Pending, etc.) via logs and events. Use when pods fail to start or crash repeatedly. Don't use for GKE cluster infrastructure provisioning, node pool creation, or non-Kubernetes Google Cloud services.","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-troubleshooting\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M721643JPG43MFDHGN067D7T","gke-workload-security","Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running security audits (`audit_cluster.sh`), enforcing Network Policies (default-deny and Dataplane V2 logging), isolating high-risk pods inside GKE Sandbox (`gVisor`), enforcing Pod Security Standards (`restricted` labeling) and pod securityContext, and mounting Secret Manager secrets via CSI (`SecretProviderClass`). Use when auditing workload security posture, isolating namespaces, applying pod security standards, or configuring network policies and secret volume mounts. Don't use for Workload Identity (use gke-workload-identity), cluster-wide control plane security, RBAC hardening, Binary Authorization, Shielded Nodes, or enabling platform-level GKE add-ons (use gke-platform-security instead).","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-security\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M721618QGFKZRWHS0RFVG7WT","gke-workload-scaling","Manages scaling for GKE workloads using HPA and VPA. Use when configuring Horizontal Pod Autoscaler (HPA), configuring Vertical Pod Autoscaler (VPA), or applying best practices for GKE workload autoscaling. Do not use for cluster-level autoscaling (Cluster Autoscaler), static cluster sizing, or configuring node-level machine styles directly.","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-scaling\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M7215WA1TNFDZE22VJEN3XXW","gke-workload-identity","Configures and diagnoses Workload Identity Federation for GKE authentication failures for Pods (403 \"iam.serviceAccounts.getAccessToken\" \u002F permission denied, \"could not find default credentials\", or GKE metadata server unreachable) by verifying cluster and node-pool Workload Identity configuration, the Kubernetes ServiceAccount (KSA) to IAM binding (direct principal binding and legacy Google ServiceAccount impersonation), target-resource IAM roles, and gke-metadata-server health. Use when setting up KSA\u002FGSA bindings (`roles\u002Fiam.workloadIdentityUser`, `iam.gke.io\u002Fgcp-service-account`) or when a Pod cannot authenticate to Google Cloud APIs. Don't use for in-cluster Kubernetes RBAC errors (API-server authorization), general workload crashes (use gke-workload-troubleshooting), or Pod Security Standards and NetworkPolicies (use gke-workload-security).","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-identity\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M7215PJTBTZ0W15ZZ2W32FF9","gke-upgrades","Plans, executes, and validates Google Kubernetes Engine (GKE) cluster upgrades and maintenance operations for both Standard and Autopilot clusters. Produces upgrade plans, pre\u002Fpost-upgrade checklists, maintenance runbooks with gcloud commands, release channel strategy, and troubleshooting guides. Handles node pool upgrade strategies (surge, blue-green), version compatibility, PDB management, and workload-specific concerns (stateful, GPU, operators). Use this skill whenever the user mentions GKE upgrades, Kubernetes version bumps, node pool maintenance, GKE patching, cluster version management, release channel selection, maintenance windows, surge upgrades, stuck upgrades, or any GKE lifecycle management task — even casual mentions like \"we need to upgrade our clusters\" or \"plan our next GKE maintenance\" or \"our upgrade is stuck.\" Don't use for GKE cluster creation, application onboarding, general networking\u002Frouting setup, or security policy configurations (use gke-basics or relevant GKE skills instead).","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-upgrades\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M7215JX0FBZBTG4570CJ20HS","gke-tpu-metrics-monitoring","Monitors and troubleshoots GKE TPU workloads, nodes, and node pools using GKE system metrics and PromQL. Use when monitoring TensorCore duty cycle, TPU memory, node readiness, multi-host TPU node pool availability, host maintenance or preemption interruptions, and calculating MTTR or MTBI metrics for GKE TPUs. Don't use for general non-TPU GKE workload monitoring or non-metric TPU debugging.","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-tpu-metrics-monitoring\u002FSKILL.md",[],[]]