Kubernetes 1.38: Pod-Level Resources and Safer Evictions

Kubernetes 1.38 ships 16 Dec 2026: pod-level resources go stable, evictions get a coordinated API, and the kubelet takes its cgroup driver from the runtime.

Before you start

Compatible with Linux nodes running Kubernetes 1.37 or earlier, upgrading to 1.38, containerd and CRI-O based clusters

  • A Kubernetes cluster you plan to upgrade, or a test cluster on 1.37 or earlier
  • kubectl access and permission to read node and kubelet configuration
  • Access to the container runtime version on each node group

Kubernetes 1.38 is planned for Wednesday, 16 December 2026, and the release team published its preview on 23 November. The release is mostly about finishing work that started in earlier cycles. Pod-level resources graduate to stable, evictions get a coordinated API in alpha, and kubectl picks up a stable preferences file. The part that needs attention before upgrade day is a breaking change in how the kubelet learns its cgroup driver. A node with an older runtime can fail to register at all, and that failure shows up at kubelet start, before any workload rolls out.

This article walks through what changes, what stays the same, and the checks to run before you upgrade. Everything here comes from the release team’s preview, the Kubernetes documentation, and the project’s weekly newsletter. The final release notes may still change details, so treat the dates and feature stages as plans that can still change.

Release status and what to expect on 16 December

The Kubernetes v1.38 sneak peek is explicit that its list reflects the state of the release cycle at the time of writing and may change before the release date. Code freeze was already in effect when the preview went out, and the documentation deadline landed on 24 November. The beta, v1.38.0-beta.0, has been out since 6 November, according to Last Week in Kubernetes.

That matters for planning. A preview written three weeks before release is a good basis for a checklist, and a poor basis for a promise. The features expected to graduate to stable are kuberc, pod-level resources, and DRA partitionable devices. The new EvictionRequest API arrives in alpha. The removals are firmer: two kubectl environment variables go away, the name field leaves kuberc allowlists, and the kubelet stops accepting its cgroup driver from configuration by default.

If you run a managed cluster, the provider decides the exact upgrade window, and some of these changes may arrive behind the provider’s own schedule. The checks below still apply, because the provider’s upgrade does not change what your nodes run.

Pod-level resources graduate to stable

Pod-level resources let you set CPU, memory, and hugepages requests and limits for a whole Pod instead of setting them on each container. The feature is expected to graduate to stable in 1.38 under KEP-2837.

The practical difference shows up in Pods with sidecars. A logging agent or a service mesh proxy shares the Pod’s budget, and per-container limits force you to split that budget by hand. Set the numbers per container and the sidecar’s limit can cap the whole Pod, or the main container can starve while the sidecar sits idle. Pod-level resources move the accounting to the Pod, so the scheduler and the kubelet treat the Pod as one unit. A Pod that requests 2 CPU and 4 GiB of memory gets that as a Pod, and the containers inside share it.

The same idea extends to metrics. A kubelet change merged for this cycle adds pod-level resize metrics under KEP-5419, with an alpha kubelet_pod_requested_resizes_total metric and labels that separate container-level from pod-level resize operations. If you run in-place resizes, the metrics show which level asked for the change and whether the request is pending, in progress, infeasible, or deferred. That is useful in exactly the situation where a resize fails silently: the Pod looks unchanged, and the metric tells you the request was infeasible rather than ignored.

Ephemeral storage is the next piece of the same design, and it is not in this release. KEP-6386 proposes pod-level ephemeral-storage requests and limits, targeting alpha in 1.38, beta in 1.39, and stable in 1.41. The reason it matters is the same sidecar problem: today ephemeral-storage requests and limits are set per container, so an injected sidecar’s limit can cap the shared disk-backed emptyDir volume for the whole Pod. The proposal is implementable and the implementation work is open, but until it lands, disk budgeting stays per container.

For upgrade planning, the stable graduation means the API is no longer gated. If you held off on pod-level resources because they were beta, 1.38 is the release where the feature stops being experimental. Workloads without pod-level resource fields keep their per-container accounting.

Swap limits change on LimitedSwap nodes

The swap change is the quiet one, and it is the one most likely to surprise a team that uses pod-level resources. On Linux nodes using cgroup v2 with LimitedSwap, the kubelet in 1.38 starts applying swap limits based on the Pod’s pod-level memory settings. A Pod whose pod-level memory request equals its limit gets no swap at all, for the Pod and for every container in it, even if a container inside sets a memory request lower than its limit.

That is a narrow combination of conditions, and it is worth checking whether your nodes meet all of them. The node has to run cgroup v2, the kubelet has to be configured with LimitedSwap, and the Pod has to use pod-level resources. If any of those is missing, the change does nothing. If all three are present, a Pod that was previously allowed to swap may find its swap gone after the upgrade, and the symptom will look like a memory pressure problem rather than a configuration change.

The release team flags this explicitly in the preview and tells operators to check any workloads that rely on swap before upgrading. The check is straightforward: list the Pods that set pod-level memory with request equal to limit, and confirm whether those workloads expect swap to be available. If they do, either adjust the pod-level memory settings so request and limit differ, or move the workload off LimitedSwap nodes before the upgrade.

EvictionRequest API brings coordinated evictions

Evicting a Pod is rarely as simple as terminating it. Some applications are in the middle of work that should finish first: a data migration, a cleanup step, a handoff to another replica. Terminating the Pod mid-task can leave state half moved or a queue half drained. The EvictionRequest API, arriving in alpha in 1.38 under KEP-4563, gives applications and controllers a chance to prepare before the Pod goes away.

The mechanism works through responders. When a node needs to be drained or a Pod needs to move, a controller creates an EvictionRequest to signal that the Pod should be evicted. The eviction request controller coordinates with the responders configured for the Pod, and those responders run application-specific work such as completing ongoing operations, cleaning up resources, or migrating data before the Pod is terminated.

Two limits matter. First, if no custom responder is available, or the responders do not complete the work, Kubernetes falls back to the existing API-initiated eviction mechanism. The Pod still gets evicted, just without the preparation step. Second, the new API does not replace PodDisruptionBudgets. The fallback path continues to respect PDBs, so a budget that blocks eviction still blocks it. The API adds a preparation step inside the eviction flow; it does not change who is allowed to evict.

Because it is alpha, turning it on requires the EvictionRequestAPI feature gate and the relevant alpha API group. The preview says to check the final release notes for the exact requirements, so do not enable it in production from the preview alone. The more useful step for most teams is a test cluster: drain a node with a stateful workload that has a responder configured, and watch whether the preparation step runs before termination. That test tells you whether your workloads benefit from the API at all, which is the question to answer before you plan around it.

The cgroup driver change can stop nodes from registering

This is the breaking change in 1.38, and it deserves the most attention. Since 1.31 the kubelet could ask the container 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. In 1.38 the fallback is off by default. The cgroupDriver field in the kubelet configuration file is deprecated, and the kubelet rejects a configuration that sets it unless you enable the temporary LegacyCgroupDriverFallback feature gate.

The consequence is a startup-order change. The kubelet now expects the runtime to be running before the kubelet starts, because it needs the runtime to report the driver. If the kubelet cannot get the cgroup driver from the runtime even after retrying, it exits with an error before registering the node. A node that fails this way never joins the cluster, and the workloads scheduled on it stay pending.

kubeadm changes with it. The tool stops setting cgroupDriver: systemd by default, and its preflight checks report an error if the runtime does not support the RPC. That means a kubeadm-based upgrade can fail at preflight rather than at kubelet start, which is the better place to find out, but only if you run the preflight check before the maintenance window.

The fix is to upgrade the runtime first. The official preview does not name minimum runtime versions, so check the final 1.38 release notes for the exact versions your runtime needs. Third-party write-ups of the preview name containerd 2.0 and CRI-O 1.28 as the minimums that answer the RuntimeConfig call, and containerd 1.7 as the last version that does not, but that claim comes from a summary rather than the release team’s post, so verify it against the release notes before acting on it. The temporary gate exists for teams that cannot upgrade the runtime in time. Treat it as a bridge while you plan the runtime upgrade, because the legacy mechanism is being removed.

The related cgroup v1 story continues in the same direction. Since 1.35 the kubelet fails to start on cgroup v1 nodes unless you set failCgroupV1: false. That option remains available in 1.38, but the preview calls it a short-term fix and says cgroup v1 support is planned for removal in a future release. If you still have cgroup v1 nodes, 1.38 is a good moment to finish the migration. The workaround has an expiry date. The site covered the 1.35 change in Kubernetes 1.35 Will Not Boot Your cgroup v1 Nodes, and the check there still applies: look at the node before the control plane.

kubectl cleanups: kuberc goes stable, two variables go away

kuberc, the separate kubectl configuration file for user preferences such as command aliases, default options, and credential plugin policy, is expected to graduate to stable in 1.38. The graduation brings a stricter API. In the beta kubectl.config.k8s.io/v1beta1 API, a credential plugin allowlist entry could use name as an alias for command. The name field has been deprecated since 1.36, and the new kubectl.config.k8s.io/v1 API does not include it. If any of your allowlist entries use name, change them to command now, before the upgrade makes the file invalid.

The two WebSocket opt-out environment variables go away in 1.38. KUBECTL_REMOTE_COMMAND_WEBSOCKETS and KUBECTL_PORT_FORWARD_WEBSOCKETS let you turn off WebSocket transport for kubectl exec, attach, cp, and port-forward. kubectl has used WebSockets by default for the first three since 1.30 and for port-forward since 1.31, so removing the variables changes nothing for anyone running the default. If your scripts or CI environments set either variable, delete the lines. They will no longer have any effect, and leaving them in place only hides the fact that the opt-out is gone.

Admission webhooks pick up a behavior that started in 1.37. The ExcludeAdmissionWebhookVirtualResources feature gate has been on by default since then, and with it on, validating and mutating webhooks no longer receive requests for TokenReview, SelfSubjectReview, SubjectAccessReview, SelfSubjectAccessReview, LocalSubjectAccessReview, or SelfSubjectRulesReview. Creating or updating a webhook configuration whose rules name one of those resources returns a deprecation warning, and the API server logs affected configurations at startup. If you rely on a webhook to see those requests, you can turn the gate off for now, but the preview notes the gate is planned to be locked on when the feature graduates to stable.

The IPVS backend has a removal date now

The kube-proxy IPVS backend has been deprecated since 1.35, and SIG Network published its removal plan on 16 November. The removal post says the project plans to remove the backend in 1.40, and the Kubernetes networking reference gives the precise schedule: IPVS mode is disabled by default from 1.40, re-enableable with the KubeProxyIPVS feature gate, and fully removed in 1.43.

The reason is architectural. IPVS was written to fix two scaling problems in the iptables backend: linear rule matching for new connections and a full ruleset rewrite on every service or endpoint change. It fixed both, but the kernel IPVS API has no batch update operation, so large bursts of changes could take longer to apply than with iptables, and the backend had to fall back to iptables for Service features beyond basic load balancing. The nftables backend, introduced in 1.29 and generally available since 1.33, is the recommended replacement, and the project’s own measurements show it slightly faster than IPVS on first-packet latency.

The migration path depends on the node. On Kubernetes 1.36 or later with a kernel 5.13 or later, switch to nftables mode by changing mode: ipvs to mode: nftables in the kube-proxy ConfigMap and restarting the kube-proxy pods. On older nodes, switch to iptables mode and reboot each node after the configuration change rather than only restarting kube-proxy. The 1.38 release does not force the move. Do the work in the months before 1.40, not in the week it lands.

Release artifacts get signed SLSA provenance

Starting with v1.38.0-beta.0, released 6 November, Kubernetes releases ship with signed SLSA provenance. Downstream consumers can verify the build process for each release artifact cryptographically. The change was noted in the weekly newsletter rather than the sneak peek, and it is easy to miss next to the feature list, but it matters for anyone who mirrors release artifacts or builds tooling on top of them. If your pipeline downloads Kubernetes binaries, the provenance gives you something to check, and the beta is the release to test that check against.

How this article was put together

No cluster was upgraded to test the changes in this article. Kubernetes 1.38.0 final is not released yet, so there is no 1.38 cluster to test against, and the beta is the newest available build. Every version number, date, and feature stage here comes from the release team’s sneak peek, the Kubernetes documentation, or the project’s weekly newsletter, and each claim links to the page it came from. Where a third-party summary added a detail the official post does not state, such as minimum runtime versions for the cgroup driver change, the article says so and points at the final release notes instead of stating it as fact.

Readers can verify the main claims on their own clusters without upgrading. Check the kubelet configuration for a cgroupDriver field and the runtime version on each node group. Check whether any Pod sets pod-level memory with request equal to limit, and whether those nodes run LimitedSwap. Check the kube-proxy ConfigMap for mode: ipvs. Check kuberc allowlists for the name field, and grep CI scripts for the two WebSocket environment variables. Those five checks cover the changes that can break an upgrade, and each one takes a few minutes on a cluster you already run.

Pre-upgrade checklist for 1.38

Run these checks in order, and treat any failure as a reason to pause the upgrade and fix it before the window.

  1. Confirm the runtime on every node group reports the cgroup driver through the CRI RuntimeConfig call, or plan the runtime upgrade first. Check the final 1.38 release notes for the minimum versions.
  2. Search kubelet configuration files for cgroupDriver. Remove the field or, as a temporary measure, enable the LegacyCgroupDriverFallback gate and record that it is temporary.
  3. Check that no node still runs cgroup v1, or confirm the migration plan for the nodes that do. The failCgroupV1: false setting still works in 1.38, and it is a short-term fix.
  4. List Pods with pod-level memory where request equals limit, and confirm whether those workloads expect swap on LimitedSwap nodes.
  5. Check the kube-proxy ConfigMap for mode: ipvs. If it is there, plan the move to nftables or iptables before 1.40, when the mode stops working by default.
  6. Replace name with command in kuberc credential plugin allowlists.
  7. Remove KUBECTL_REMOTE_COMMAND_WEBSOCKETS and KUBECTL_PORT_FORWARD_WEBSOCKETS from scripts and CI environments.
  8. Review admission webhook configurations for rules naming TokenReview, SelfSubjectReview, or the other virtual review resources.
  9. Test the EvictionRequest alpha in a test cluster with a stateful workload before deciding whether it helps your applications.
  10. Read the final 1.38 release notes when they land on 16 December, and re-check any item the preview marked as subject to change.

Kubernetes 1.38 is a release that finishes earlier work. Pod-level resources, kuberc, and DRA partitionable devices all graduate, evictions get a coordination step, and the kubelet finally stops carrying a configuration it no longer needs. The upgrade work is mostly inventory: runtime versions, kubelet fields, swap settings, proxy modes, and a few lines in scripts. Do that inventory before 16 December, and the release itself should be quiet. For broader production habits around upgrades, the site’s Kubernetes production best practices cover the surrounding discipline, and the 1.37 emptyDir change is a useful reminder that small defaults can change behavior without a version bump in the feature list.

Report a correction to this article

Article illustration
A row of server racks in a dim aisle with one node highlighted by a warm amber status light and small container icons on a rack shelf