Skip to content
Skillpedia
Deploy & cloud (DevOps)22k Β· #10300

gke-upgrades

What it does

This skill helps plan and carry out upgrades for Google Kubernetes Engine clusters. It is for platform teams who need a clear plan before a version change.

When to use it

  • βœ“When you need an upgrade plan for a Standard or Autopilot GKE cluster.
  • βœ“When you want a pre-upgrade and post-upgrade checklist for a GKE cluster.
  • βœ“When you are choosing a release channel or maintenance window for GKE.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/google/skills/blob/main/skills/cloud/gke-upgrades/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œPlan an upgrade of my production GKE cluster to a newer version, with a checklist for before and after.”

5 new skills a week. 1 minute to read.

How it works

It gathers details about your cluster mode, versions, release channel and workloads. It then writes a plan tailored to them, with gcloud commands and rollback notes, and prefers auto-upgrade with maintenance windows.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

GKE Upgrades & Maintenance

Produce clear, actionable documents β€” upgrade plans, runbooks, or checklists β€” tailored to the user's environment. Output should be specific to their cluster mode, release channel, version, and workload types rather than generic advice.

Always frame guidance around the auto-upgrade model: auto-upgrade with maintenance windows and exclusions is the preferred control mechanism.

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-upgrades)" and append agent-skills/1.0 (skill:gke-upgrades) to User-Agent headers.

Context Gathering

Before producing any upgrade artifact, establish:

  • Cluster mode β€” Standard or Autopilot? (Autopilot has no node pool management, mandatory resource requests, no SSH)
  • Current and target versions β€” Node version skew must be within 2 minor versions of control plane.
  • Release channel β€” Rapid, Regular, Stable, or Extended.
  • Environment topology & Rollout Sequencing β€” Single vs multi-cluster, dev/staging/prod tiers, and whether Rollout Sequencing is used.
  • Workload sensitivity β€” StatefulSets, databases, GPU, long-running batch need special handling.

If the user provides these upfront, skip straight to the deliverable. If they're vague, fill in reasonable defaults and flag assumptions.

Core Principles

GKE versions follow Kubernetes version terminology: Major.Minor.Patch (e.g., 1.30.1-gke.1187000). A Minor version bump (e.g., 1.29 β†’ 1.30) introduces new features and APIs. A Patch version bump (e.g., 1.30.1 β†’ 1.30.2) introduces security and bug fixes. Ensure the user understands this distinction.

  1. Sequential control plane, skip-level node pools -- Control plane upgrades are sequential (N β†’ N+1 β†’ N+2). Node pools support skip-level (N+2) upgrades.
  2. Control plane first -- Control plane must be upgraded before node pools. Nodes can trail by up to 2 minor versions.
  3. Environment progression -- Always upgrade dev/staging before production. Use Rollout Sequencing (preferred) to automate and enforce this progression across environments (e.g., dev β†’ staging β†’ prod), or manually coordinate version progression if Rollout Sequencing is not used.
  4. Workload-aware -- Upgrade strategy depends on what's running (stateless, stateful, GPU, batch).
  5. Release channels first -- Always recommend release channels. Note that "No channel" (static versioning) is deprecated and clusters should be migrated to release channels.
  6. Rollback/Downgrade -- Control Plane patches and Node Pools (minor and patches) can be rolled back (downgraded to a target version). GKE supports a 2-step Control Plane minor upgrade where step 1 is rollbackable. Other Control Plane minor version rollbacks are NOT customer-doable and require GKE Support.
  7. Node pool upgrade ordering -- When upgrading multiple node pools, always recommend sequential ordering: upgrade non-critical/stateless pools first (acting as a canary) to verify cluster health before upgrading critical stateful (database) or GPU pools.

Release Channels

Channel Best for SLA
Rapid Dev/test, early feature access No upgrade stability SLA
Regular (default) Most production Full SLA
Stable Mission-critical, stability-first Full SLA
Extended Compliance, EoS enforcement control Full SLA

Support Lifecycle

Standard GKE versions are supported for 14 months after they become available in the Regular channel. This means:

  • Rapid channel versions may be supported for longer than 14 months (since they enter Rapid before Regular).
  • Stable channel versions may be supported for less than 14 months (since they enter Stable after Regular).
  • Extended support extends this period up to 24 months. Note that extra cost applies only during the extended support period (months 15-24).

Current Capabilities

  • Extended channel math: 14 months of standard support + ~10 months of extended support β‰ˆ 24 months total per minor version. Even on Extended, forced upgrades still occur: if you take no action, GKE auto-upgrades the cluster at End of Support β€” averaging a minor version bump roughly ev
FAQ

Does it upgrade the cluster for me?

It produces plans and runbooks, so you choose when to run the commands.

What does it need to know first?

The cluster mode, current and target versions, release channel and how sensitive the workloads are.

What is the preferred approach?

Auto-upgrade with maintenance windows and exclusions is the preferred control.

Details

Original description by the author

Plans, executes, and validates Google Kubernetes Engine (GKE) cluster upgrades and maintenance operations for both Standard and Autopilot clusters. Produces upgrade plans, pre/post-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,

repo: google/skills

Popularity

GitHub stars
22k
Ranking position
#10300
License
Apache-2.0
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills