Releases, version skew and feature gates

Intermediate · 5 min

Three minor releases a year, about a year of patches each, how far components may drift apart, and how features move from alpha to GA behind feature gates.

Before thisThe control planeNodes, the kubelet and the container runtime

Matt Denham · 6 min · from 1:15

Releases, version skew and feature gates

The player loads from youtube-nocookie.com when you press play. Nothing reaches YouTube before that.

Taught by Matt DenhamReport a problem with this video
Not started
Set this lesson's status

What you'll learn

  • Kubernetes ships a minor release roughly every four months. The newest three are maintained, and each gets about a year of patch releases, so a cluster that does not upgrade falls out of support within a year.
  • Version skew has a direction. kubelets and kube-proxy may be up to three minors older than the API server but never newer; controller manager and scheduler at most one older; kubectl one either way.
  • That is why upgrades go control plane first, one minor at a time, and nodes afterwards.
  • Features grow behind feature gates. Alpha is off by default and may vanish; beta is usually on; GA is locked on and the gate is later removed.
  • Beta API versions are off by default since 1.24, and the deprecation policy guarantees a GA API is never removed within v1. Beta APIs stop being served 9 months or 3 releases after deprecation.

A moving platform

Most infrastructure you run changes slowly. Kubernetes does not. A new minor release lands roughly every four months, with new fields, graduated features, deprecations and occasional removals. Meanwhile your cluster has dozens of components on different machines, and you cannot replace them all in the same instant. Two questions follow. How long can you stay on a version? And while an upgrade is half done, which combinations of old and new are safe?

The project answers both with written policy, and it pays to know it before your first upgrade, which upgrading a cluster covers step by step.

The release cycle

Kubernetes versions are major.minor.patch. The major has been 1 since 2015 and there are no plans to change it. Minor releases, 1.35, 1.36, 1.37, arrive about three times a year and carry features. Patch releases, 1.37.1, 1.37.2, 1.37.3, carry bug and security fixes, roughly monthly.

The project maintains release branches for the three most recent minors, currently 1.37, 1.36 and 1.35, and each minor gets about a year of patch support. The releases page gives 1.37 an end-of-life date of 2027-10-28, and lists 1.34 as having reached end of life on 2026-10-27. The practical result: a cluster that skips upgrades for a year is running software that gets no security fixes. Managed services follow similar windows, some with paid extended support, as managed Kubernetes describes.

When this lesson was checked, dl.k8s.io/release/stable.txt returned v1.37.3 and latest.txt returned v1.38.0-beta.0, so 1.38 is in its beta phase. The releases web page still showed 1.37.2 as the newest patch, so trust stable.txt over a page that may lag.

Version skew: who may be older than whom

During an upgrade, components run different versions. The version skew policy says which gaps are supported, measured against kube-apiserver:

Component Allowed relative to kube-apiserver
Other kube-apiserver instances (HA) Within 1 minor
kubelet Up to 3 minors older, never newer
kube-proxy Up to 3 minors older, never newer
kube-controller-manager, kube-scheduler, cloud-controller-manager Up to 1 minor older, never newer
kubectl 1 minor older or newer

The pattern is that a client may be older than the server it talks to, but not newer. A newer client might send fields or expect behaviour the server does not have yet. An older client works because the API server keeps serving the API versions old clients use.

So the upgrade order is forced. Upgrade the API servers first, then the controller manager, scheduler and cloud controller manager, then the kubelets and kube-proxy. Go one minor at a time; a 1.35 control plane cannot jump straight to 1.37, because during the change the HA API servers would be two minors apart. The three-minor kubelet window means you can upgrade the control plane several times before touching nodes, which helps teams whose node pools are slow to roll.

Since 1.32, control plane components also accept --emulated-version. A v1.37 binary can behave like an earlier release, exposing only that release’s APIs and features. The v1.37.3 kube-controller-manager --help lists the range as kube=1.34..1.37. It lets you upgrade binaries first and switch on the new behaviour as a separate, reversible step.

Feature gates

New behaviour does not appear fully formed. It arrives behind a feature gate, a named switch on each component (--feature-gates=Name=true), and moves through stages defined in the feature gates reference:

  • Alpha: disabled by default, may be buggy, may change incompatibly or be dropped without notice. For test clusters only.
  • Beta: usually enabled by default, well tested, details may still change.
  • GA (stable): always on. The gate is locked to true and is removed a few releases later.

Every component reports its gates as a metric. On the lab’s v1.37.3 API server:

$ kubectl get --raw /metrics | grep '^kubernetes_feature_enabled'
kubernetes_feature_enabled{name="HPAScaleToZero",stage="BETA"} 1
kubernetes_feature_enabled{name="InPlacePodVerticalScaling",stage=""} 1
kubernetes_feature_enabled{name="MutatingAdmissionPolicy",stage=""} 1
kubernetes_feature_enabled{name="NFTablesProxyMode",stage=""} 1
kubernetes_feature_enabled{name="PodLevelResources",stage="BETA"} 1
...

An empty stage means GA. That server knew 254 gates: 71 GA, 109 beta, 57 alpha and 17 deprecated. The source shows how features travel. In-place Pod resize was alpha in 1.27, beta in 1.33 and GA in 1.35; the nftables kube-proxy mode went GA in 1.33; Dynamic Resource Allocation in 1.34; user namespaces and image volumes in 1.36; and in 1.37 the storage version migrator and several DRA additions went GA while HPA scale-to-zero became beta and on by default.

API versions follow their own rules

Feature gates cover behaviour. API versions (v1beta1, v1) have a separate deprecation policy:

  • GA API versions may be deprecated but must not be removed within Kubernetes v1.
  • Beta API versions stop being served 9 months or 3 minor releases after deprecation, whichever is longer.
  • Alpha API versions can disappear in any release.

Since 1.24, new beta APIs are off by default, so a cluster does not quietly grow a dependency on an unstable API. On the lab server, kubectl api-versions lists no alpha or beta groups at all. The famous upgrade breakages, such as extensions/v1beta1 Ingress disappearing in 1.22, were beta removals that followed this policy; the fix was always to move manifests to the GA version first. The API server returns a warning header when you use a deprecated version, and kubectl prints it.

About the video

The embed is a clip of Matt Denham’s “Kubernetes Versions and Upgrades for Beginners”, episode 7 of his Newbernetes series (November 2026), from 1:15 to 7:24. Its chapters in that range cover major, minor and patch numbers, the four version numbers you have already met (images, charts and the cluster), the Kubernetes release cycle, version skew, and upgrading safely. The rest of the video is a K3s upgrade demo, which belongs to the upgrade lesson. It is a small channel, and the clip does not cover feature gates or the API deprecation policy, which the lesson adds. English was judged from the manual English caption track, title and description; there is no audio-track metadata. The Linux Foundation interview with the 1.37 release lead in deeper is a good picture of what one release actually contains.

What was run: the feature-gate metrics, the gate counts and the empty alpha/beta API list came from a local v1.37.3 API server, on 2026-11-28; the --emulated-version range is from that build’s help text. Feature graduation versions were read from pkg/features/kube_features.go in the v1.37.3 source. The skew rules and support windows are from the version skew policy and the releases page, and the current versions from dl.k8s.io, checked the same day.

Where this fits

That finishes how Kubernetes works. The next group gets you a cluster to work on, starting on your laptop: local clusters with kind, minikube and k3d.

Check yourself

  1. 01Your API servers run 1.37. Which kubelet versions are supported on your nodes?

    1.37, 1.36, 1.35 and 1.34. kubelets may be up to three minor versions older than the API server and never newer. A 1.38 kubelet would not be supported.

  2. 02Why can't you upgrade worker nodes before the control plane?

    A newer kubelet may use API fields or behaviour the older API server does not know, so the policy forbids a kubelet newer than kube-apiserver. Upgrading the control plane first always keeps nodes at the same or older version.

  3. 03You want to try an alpha feature in production because a blog post praised it. What do you risk?

    Alpha features are off by default, may be buggy, may change incompatibly, and can be dropped without notice. Managed services usually do not let you turn them on at all. Use a short-lived test cluster instead.

  4. 04A Helm chart still uses an API version that a newer release no longer serves. What happens when you upgrade the cluster, and how could you have caught it?

    Objects already stored keep working, because the API server converts stored data, but applying the chart fails since that version no longer exists. Reading the release notes' removal list, or running a deprecated-API scanner before upgrading, would have caught it. The API server also returns deprecation warnings that kubectl prints.

Go deeper

Notes

Private to you

Esc
↑↓ navigate↵ open? shortcuts

Keyboard shortcuts

Press Esc to close

Anywhere

⌘K
Search and commands
/
Search
?
This sheet
Esc
Close

Reading a lesson

J
Next lesson
K
Previous lesson
B
Bookmark