Kubernetes 1.38 Sneak Peek: The cgroup Driver Change and 5 More
On 23 November 2026 the Kubernetes release team published the Kubernetes v1.38 sneak peek, the list of deprecations, removals and breaking changes planned for the next minor release. Kubernetes 1.38 is planned for Wednesday 16 December 2026. That is three weeks away, and most teams will not upgrade production until well into 2027, but this is the post to read against your node images and kubectl configuration now.
One change in it can stop nodes from joining a cluster: the kubelet will no longer pick its own cgroup driver. The rest are smaller: two kubectl environment variables go away, the kuberc file gets a stable API without a deprecated field, and swap behaves differently for Pods with pod-level resources.
What happened
Here is everything the post lists, in the order it can hurt you.
| Change | Kind | Who is affected | Action | Source |
|---|---|---|---|---|
Kubelet takes the cgroup driver from the runtime; cgroupDriver in kubelet config is rejected unless LegacyCgroupDriverFallback is on |
Breaking | Nodes on containerd 1.7 or another runtime without the CRI RuntimeConfig call |
Move to containerd 2.0 or later, or CRI-O 1.28 or later, before 1.38 | KEP-4033, PR 136731 |
kubeadm stops setting cgroupDriver: systemd and fails preflight if the runtime lacks the call |
Breaking | kubeadm clusters | Same as above | Sneak peek |
Pod-level memory settings drive swap limits on LimitedSwap nodes |
Breaking | Pods with pod-level resources on cgroup v2 nodes with swap | Pods whose pod-level memory request equals the limit get no swap at all | KEP-2837 |
KUBECTL_REMOTE_COMMAND_WEBSOCKETS and KUBECTL_PORT_FORWARD_WEBSOCKETS removed |
Removal | Scripts and CI that set them to opt out of WebSockets | Delete them; they no longer do anything | PR 142861 |
kuberc credentialPluginAllowlist entries lose name in the new v1 API |
Removal | Anyone with a kuberc allowlist | Use command instead |
KEP-3104 |
| Admission webhooks no longer see TokenReview, SubjectAccessReview and similar virtual writes | Already on since 1.37 | Webhooks that audit or alter auth reviews | Switch to API server audit logs; the gate will be locked on at GA | Sneak peek |
| cgroup v1 nodes | Ongoing | Nodes still on cgroup v1 | failCgroupV1: false still works in 1.38, but only as a stopgap |
KEP-5573 |
The post also names the features likely to ship. kuberc and pod-level resources graduate to stable. DRA partitionable devices graduates to stable, which locks the DRAPartitionableDevices gate on. And there is a new alpha EvictionRequest API that lets a Pod's controllers finish work before an eviction goes through, alongside PodDisruptionBudgets rather than instead of them.
What changes for engineers
The cgroup driver change is a startup-order change. Since 1.31 the kubelet could ask the runtime which cgroup driver to use, through the CRI RuntimeConfig call, and fell back to its own cgroupDriver setting when the runtime did not answer. The KEP says containerd 2.0 and CRI-O 1.28 are the minimum versions that answer, and that containerd 1.7 was the last supported runtime that did not. In 1.38 the fallback is off by default. The kubelet asks the runtime first, and if it cannot get an answer after retrying, it exits before registering the node.
That has a side effect beyond old containerd. In the PR thread, a SIG Node reviewer noted that the kubelet will now fail to start when the runtime is not healthy, and that some environments start the kubelet before the runtime is ready. In my test the 1.38 beta kubelet already exits at once when the containerd socket is missing, and recovers only because the systemd unit restarts it every second. If your node bootstrap starts the kubelet and the runtime in parallel, or your kubelet unit has no Restart=always, test it.
The change was not merged when I checked. On 24 November, PR 136731, "kubelet: disable cgroupDriver fallback by default", was still open. It had the approved label and the v1.38 milestone, but no lgtm, and its last update was 17 November, the day after code freeze. So v1.38.0-beta.0 does not contain it, and a 1.38 beta test cluster will not show this failure. It is in the sneak peek, so plan for it, but check the final 1.38 changelog before treating it as certain.
Finding the nodes at risk is quick. The runtime version is on every Node object. KEP-4033 also describes a cri_losing_support kubelet metric for kubelets 1.34 to 1.36, labelled with the version that drops support. The 1.38 beta kubelet I ran did not expose it, so treat the metric as a check for older nodes only:
# Nodes and their container runtime; anything on containerd 1.x needs work before 1.38
kubectl get nodes -o custom-columns=NAME:.metadata.name,RUNTIME:.status.nodeInfo.containerRuntimeVersion,KUBELET:.status.nodeInfo.kubeletVersion
# PromQL, if you scrape kubelet metrics from 1.34 to 1.36 nodes
sum by (node) (cri_losing_support{version="1.38"})
# Kubelet configs that still set the driver by hand
grep -rn "cgroupDriver" /var/lib/kubelet/config.yaml /etc/kubernetes/ 2>/dev/null
Managed node images on EKS, GKE and AKS have been on containerd 2.x for a while, but custom AMIs, self-managed kubeadm fleets and edge nodes are where 1.7 survives. containerd 1.7 itself went out of support on 30 September 2026, per the Kubernetes release calendar.
kuberc v1 is stricter than it looks. The sneak peek frames the name field as a simple rename to command. In my tests, a v1 kuberc that still uses name makes every kubectl 1.38 beta command exit with an error, not just plugin calls. A v1 file also breaks kubectl 1.37.2 completely, because 1.37 does not know the v1 API. If you share one kuberc across a team with mixed kubectl versions, keep it on v1beta1 with command until everyone is on 1.38. The output is in Kubernetes 1.38 beta, tested.
The WebSocket variables are already gone in the beta. The removal merged on 13 October and is in v1.38.0-beta.0. If you set KUBECTL_REMOTE_COMMAND_WEBSOCKETS=false to get kubectl exec through a proxy that breaks WebSocket upgrades, that workaround stops working. kubectl still falls back to SPDY when the server refuses the upgrade, so the fix is on the proxy side: allow Upgrade: websocket to the API server.
The swap change is narrow but silent. It matters only if you combine pod-level resources with LimitedSwap nodes. A Pod whose pod-level memory request equals its limit is Guaranteed at the pod level and gets no swap, even when a container inside asks for less than its limit. Nothing fails; the Pod just stops swapping and may be OOM-killed sooner.
What I ran
I built a kind node image from the v1.38.0-beta.0 release binaries and ran the kubectl, kuberc and kubelet configuration cases against it, next to kubectl 1.37.2. Results, including what the beta does not yet do, are in the hands-on post: Kubernetes 1.38 beta, tested.
What to do this week
- Run the runtime query above on every cluster. Any node on containerd 1.x goes on the upgrade list before 1.38, whatever else you do.
- Check node bootstrap order. The kubelet should start after the container runtime is up. In systemd, that means
After=andWants=on the runtime unit. - Search CI configs and dotfiles for
KUBECTL_REMOTE_COMMAND_WEBSOCKETSandKUBECTL_PORT_FORWARD_WEBSOCKETS, and fix any proxy that needed them. - Change kuberc allowlist entries from
nametocommand, but leave the file onv1beta1until every kubectl that reads it is 1.38. - If you run swap, list Pods that set pod-level resources:
kubectl get pods -A -o json | jq -r '.items[] | select(.spec.resources != null) | .metadata.namespace + "/" + .metadata.name'. - Watch PR 136731 and the 1.38 changelog. The tracker below will record whether the cgroup driver change makes the release.
FAQ
When is Kubernetes 1.38 released?
The release team plans Wednesday 16 December 2026. The sneak peek says details may change before then.
Will my nodes break on Kubernetes 1.38?
Only if their container runtime cannot report the cgroup driver, which mainly means containerd 1.7 or older, or if the kubelet starts before the runtime. Upgrade to containerd 2.0 or later. The temporary LegacyCgroupDriverFallback gate restores the old behaviour if you need time.
Is cgroup v1 removed in 1.38?
No. The sneak peek says failCgroupV1: false still works in 1.38, with removal planned for a future release.
Do I need to change my kuberc file?
Only if a credential plugin allowlist entry uses name. Change it to command. Moving the file to apiVersion: kubectl.config.k8s.io/v1 is optional, and it breaks older kubectl versions.
Related: Kubernetes Release and Deprecation Calendar, Kubernetes 1.37 and 1.38: What's New in 2026 and kube-proxy IPVS mode stops working by default in 1.40.
Spot an error or something out of date? Email me and I will fix it and log it on the corrections page.
I'm Ajay Kumar — I build and operate PandaStack, an open-source Firecracker microVM cloud for AI agents, and write about the infrastructure and tooling around it.
Need this kind of infrastructure work? See what I do or email hello@ajayk.sh.
Related
kube-proxy IPVS Mode Stops Working by Default in Kubernetes 1.40
SIG Network set the end of kube-proxy's ipvs backend on 16 November 2026: off by default in 1.40, gone in 1.43. The blog and the KEP word the dates differently. What each says, who is affected, and how to check your clusters.
5 minNov 27, 2026ELB for Envoy Is GA: AWS Now Runs Your Envoy Gateway Proxies
On 25 November 2026 AWS made ELB for Envoy generally available: managed Envoy 1.40 proxies that take your own config and an open source Envoy Gateway provider. What it accepts, what it rejects, the pricing, what I ran on kind, and what to do this week.
8 minNov 25, 2026How to Upgrade containerd 1.7 to 2.x Before Kubernetes 1.38 (Tested)
Kubernetes 1.38 wants the cgroup driver from the runtime, and containerd 1.7 cannot report it. A tested upgrade path from 1.7.36 to 2.3.7 LTS and 2.4.2: what the old config does on 2.x, the tracing setting that silently stops working, config version 4 and rollback, and a per-node runbook.
9 min