InsightsPlatform Engineering
Kubernetes 1.38 sneak peek: the cgroup driver now comes from the runtime, and other changes to test first
On 23 November 2026 the Kubernetes project published its v1.38 sneak peek, with the release planned for 16 December. Which changes can stop a node or a webhook from working, and what to check on a test cluster before the upgrade.
Published November 25, 20266 min read
On 23 November 2026 the Kubernetes release team published Kubernetes v1.38 Sneak Peek. It lists the changes the team considers important for people who run clusters. Kubernetes v1.38 is planned for Wednesday 16 December 2026, and the post says all details may change before then.
Most of the post is routine. Two items are not: how the kubelet learns the cgroup driver, and which requests admission webhooks still receive. Both can break something that worked on the previous version. This article goes through the changes in the order of how likely they are to hurt, and what you can check today on a test cluster, a few weeks before the release.
Breaking: the container runtime reports the cgroup driver
Until now the cgroup driver was set twice: once in the container runtime and once in the kubelet's cgroupDriver field. When the two disagreed, nodes misbehaved in confusing ways. The post says that in v1.38 the kubelet instead asks the runtime, using the CRI RuntimeConfig RPC (KEP-4033).
What follows from that, as the post describes it:
- The kubelet's
cgroupDriverfield is deprecated. It is rejected unless you enable the temporaryLegacyCgroupDriverFallbackfeature gate. - If the kubelet cannot get the cgroup driver from the runtime after retrying, it exits with an error before it registers the node. The container runtime has to be running before the kubelet starts.
- kubeadm no longer sets
cgroupDrivertosystemdby default. Its preflight checks report an error if the runtime does not support the RPC.
The post does not say which runtime versions implement the RPC. Take that from your runtime's release notes, not from this article. What you can do now is find every place that sets the field:
# On a node, or in your node image and bootstrap templates
grep -R "cgroupDriver" /var/lib/kubelet/config.yaml /etc/kubernetes/ 2>/dev/nullThen look at the ordering in your node bootstrap. If a systemd unit, a cloud-init script or an image build starts the kubelet without making sure the runtime is up, v1.38 turns a race you never noticed into a node that does not join. Add the dependency explicitly (After= and Requires= on the runtime's unit) before the upgrade, and treat LegacyCgroupDriverFallback as a way to roll forward while you fix it, not as a setting to keep.
Breaking: admission webhooks lose the review resources
The feature gate ExcludeAdmissionWebhookVirtualResources has been on by default since v1.37. Validating and mutating webhooks no longer receive writes to these virtual resources:
TokenReviewSelfSubjectReviewSubjectAccessReviewSelfSubjectAccessReviewLocalSubjectAccessReviewSelfSubjectRulesReview
Creating or updating a webhook configuration that names them returns a deprecation warning, and the API server logs affected existing configurations at startup. The post says the gate is planned to be locked on when the feature graduates to stable (KEP-5793).
This matters if a policy engine or an in-house webhook audits or restricts authentication and authorization checks, for example a rule written as resources: ["*"] that was meant to see everything. Search your configurations for it:
kubectl get validatingwebhookconfigurations,mutatingwebhookconfigurations -o yaml \
| grep -E 'tokenreviews|subjectaccessreviews|selfsubject'A wildcard rule will not show up in that search, so also read the rules of each webhook that applies to *. If something depends on seeing these requests, move it to API server audit logging, which records them whatever the webhook configuration says.
cgroup v1 is on its way out
Since v1.35 the kubelet fails to start on a cgroup v1 node unless failCgroupV1: false is set in its configuration. The post calls that option, still available in v1.38, "a short-term fix". Removal of cgroup v1 support is planned for a future release (KEP-5573), and the Kubernetes documentation has a cgroup v2 migration guide.
If any node pool still runs with that override, you have a node image problem to solve on your own schedule, not at upgrade time. To find them:
# Prints "cgroup2fs" on cgroup v2 nodes and "tmpfs" on cgroup v1 nodes
stat -fc %T /sys/fs/cgroupSmaller changes that still bite
| Change | Version | Who is affected |
|---|---|---|
kubectl no longer reads KUBECTL_REMOTE_COMMAND_WEBSOCKETS or KUBECTL_PORT_FORWARD_WEBSOCKETS | Removal planned for 1.38 | Scripts and CI that set either variable to opt out of WebSockets |
name dropped from kuberc credential plugin allowlist entries (new kubectl.config.k8s.io/v1) | Deprecated since 1.36 | Anyone with a kuberc file that uses name |
| Pod-level memory request equal to limit means no swap | 1.38 | Linux nodes on cgroup v2 with LimitedSwap |
For the kubectl variables, the post says the opt-out is removed because kubectl has used WebSockets by default for exec, attach and cp since v1.30 and for port-forward since v1.31 (KEP-4006). If a script sets either variable because a proxy in the path broke WebSockets, that proxy is now the thing to fix, and the variable will simply stop having an effect. For kuberc, replace name with command in your allowlist entries.
The swap change applies to pods that use pod-level resources. On LimitedSwap nodes the kubelet now applies swap limits from the pod-level memory settings, and a pod whose pod-level memory request equals its limit gets no swap, for the pod or any of its containers. If you rely on swap for such a pod, give it a request below its limit.
What is expected to graduate or arrive
The post lists these as featured enhancements. Treat them as expected, not final.
- kuberc is expected to graduate to stable. It is a separate kubectl file for user preferences such as aliases, default options and a credential plugin policy (documentation).
- Pod-level resources are expected to graduate to stable: CPU, memory and hugepages requests and limits set for the pod as a whole.
- DRA partitionable devices are expected to graduate to stable, with the
DRAPartitionableDevicesgate to be locked on. A Dynamic Resource Allocation driver can advertise a GPU both whole and as partitions, and the scheduler only allocates combinations that fit the physical device. Teams sharing GPUs, as in Running GPU workloads on Kubernetes without idle GPUs, should read the documentation, because this is the stable path to slicing devices. - EvictionRequest API arrives as alpha, behind the
EvictionRequestAPIfeature gate plus an alpha API group the post does not name. It gives applications and controllers time to prepare before a pod is evicted. If the responders do not finish, Kubernetes falls back to API-initiated eviction, which still respects PodDisruptionBudgets. It does not replace them; see PodDisruptionBudgets and safe node drains.
What to do before 16 December
- Read your container runtime's release notes for support of the CRI
RuntimeConfigRPC, and the version of the runtime in every node image. - Remove
cgroupDriverfrom kubelet configuration and bootstrap templates once the runtime reports it, and make sure the runtime starts before the kubelet. - Search webhook configurations for the six review resources, and move any audit need to API server audit logs.
- Find nodes on cgroup v1 and plan their image replacement.
- Grep scripts, CI and kuberc files for the two kubectl variables and for
namein credential plugin allowlists. - Create a v1.38 test cluster once the release is out, replay your node join and a normal deployment, and only then plan the production upgrade. The general sequence is in Kubernetes cluster upgrades without drama.
None of this needs to wait for the release. Every item above can be checked on the version you run today, and the ones that fail will fail the same way on 1.38, only with a node that does not join instead of a warning.