all posts

// 24 November 2026 · via Kubernetes Blog

Kubernetes v1.38 sneak peek: the cgroup driver change

Kubernetes v1.38 changes how the kubelet finds the cgroup driver and removes some kubectl opt-outs. What small teams should check before upgrading.

What happened

The Kubernetes project has published a sneak peek of v1.38, listing planned deprecations, removals and likely features. It is based on the current state of the release, so details may still change before it ships. Several items touch nodes, kubectl and admission webhooks.

Why it matters

For a team without a platform team, upgrades tend to be the moment when small, quiet assumptions break. This list has a few of those.

  • Cgroup driver. In v1.38 the kubelet is expected to stop allowing the legacy way of setting the cgroup driver. It will ask the container runtime instead, through the CRI. That means the runtime must be running before the kubelet starts, and the kubelet exits with an error if it cannot get an answer. The cgroupDriver field in the kubelet config is to be deprecated and rejected unless you enable the temporary LegacyCgroupDriverFallback feature gate. kubeadm will also stop defaulting it to systemd, and its preflight checks will fail if the runtime does not support the RPC.
  • cgroup v1. The kubelet has refused to start on cgroup v1 nodes since v1.35 unless failCgroupV1 is set to false. That option stays in v1.38, but removal is planned for a later release.
  • Admission webhooks. Since v1.37 the ExcludeAdmissionWebhookVirtualResources gate is on by default, so webhooks no longer see requests for resources such as TokenReview or SubjectAccessReview. If you rely on that, the gate can be turned off for now, but it is planned to be locked on later.
  • kubectl. The environment variables that turn off WebSockets for exec, attach, cp and port-forward are being removed. In kuberc allowlist entries, name is replaced by command.
  • Swap. With pod-level resources and LimitedSwap, Pods whose pod-level memory request equals the limit will get no swap.

What to do this week

  • Find out which container runtime and version each node pool runs, and check it against the release notes once v1.38 is out.
  • Search your kubelet configs and kubeadm templates for cgroupDriver, and for failCgroupV1 on older nodes.
  • Check whether any node still uses cgroup v1, and plan its migration.
  • Grep scripts and CI for KUBECTL_REMOTE_COMMAND_WEBSOCKETS and KUBECTL_PORT_FORWARD_WEBSOCKETS, and remove them. Change any kuberc allowlist name entries to command.
  • List any webhooks that depend on seeing review requests, and any workloads that rely on swap.

Need a hand?

If you would like help checking your clusters before this upgrade, our Kubernetes consulting covers exactly this kind of readiness review and upgrade planning. The first call is free and it is with an engineer, not a salesperson.

Source: Kubernetes v1.38 Sneak Peek

Related service: Kubernetes Consulting

Tell us where it hurts.

The first call is free — and it's with an engineer.