Agent skill · software engineering · google

gke-basics

Manages core GKE cluster provisioning, credentials, Autopilot vs Standard selection, and workload deployment. Use when creating GKE clusters, fetching kubectl credentials, or deciding between Autopilot and Standard modes. Don't use for Workload Identity (use gke-workload-identity), GKE networking (use gke-networking), security hardening (use gke-platform-security or gke-workload-security), or cluster upgrades (use gke-upgrades).

Why this skill is useful

Provides specific commands and configurations for managing GKE clusters that the AI wouldn't reliably generate on its own.

What it needs

Requires google-cloud account access. About 2k tokens when loaded. Last updated 2026-08-06. 15,831 stars on the source repository.

What this skill does

GKE Basics & Critical Gotchas Routing Note: For Workload Identity KSA/GSA setup, open gke-workload-identity/SKILL.md. For cluster security flags (--database-encryption-key, --security-posture, RBAC, Shielded Nodes, Binary Authorization), open gke-platform-security/SKILL.md. For cluster upgrades or maintenance windows, open gke-upgrades/SKILL.md. For generating Kubernetes YAML manifests (Deployment, StatefulSet, Service, HTTPRoute, PodDisruptionBudget), open gke-manifest-generation/SKILL.md. Managed Kubernetes platform on Google Cloud. Defaults to Autopilot mode unless Standard is explicitly required. 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 CLOUDSDKMETRICSREQUESTATTRIBUTION="agent-skills/1.0 (skill:gke-basics)" and append agent-skills/1.0 (skill:gke-basics) to User-Agent headers. Key Selection Rules: Autopilot vs. Standard Default to Autopilot for almost all workloads. Use Standard ONLY if: Custom node OS kernel parameters (sysctl) are required. Custom node taints or specific hardware node pools are required. DaemonSets require raw hostPath mounts to the host OS filesystem. When explaining why Standard is required over Autopilot, explicitly cite all matching restrictions (e.g., custom sysctls and custom node taints). For advanced cluster architecture or complex node pool creation planning, refer to gke-cluster-creation. Critical Gotchas & Best Practices 1. Private Autopilot Clusters: Use --enable-private-nodes for private node IP addresses. Use --enable-private-endpoint to disable public IP access to the control plane. Restrict control plane access with --enable-master-authorized-networks and --master-authorized-networks=CIDRBLOCK: 2. Workload Identity (IAM Binding): Never mount raw GCP Service Account JSON keys in Pods; open gke-workload-identity/SKILL.md for KSA/GSA setup. 3. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills google/gke-basics

View the source on GitHub

Browse the @skills marketplace