Kubernetes v1.38: Essential Migrations and Key Enhancements Ahead

Kubernetes v1.38, slated for release in December 2026, introduces vital changes. Administrators must prepare for cgroup v1 deprecation, critical container…

The Kubernetes project is gearing up for its v1.38 release, expected on December 16, 2026. A recent blog post from kubernetes.io, published on November 23, 2026, delivered a sneak peek into the upcoming changes, emphasizing significant deprecations, removals, and crucial new features. Administrators and developers should pay close attention to these updates to ensure smooth transitions and maintain operational stability within their environments.

Deprecations and Workflow Adjustments

Several kubectl behaviors are being streamlined or altered. The environment variables KUBECTL_REMOTE_COMMAND_WEBSOCKETS and KUBECTL_PORT_FORWARD_WEBSOCKETS, previously used to opt out of WebSocket usage, are being removed. Since kubectl has defaulted to WebSockets for exec, attach, cp, and port-forward for several versions (v1.30/v1.31), their removal means kubectl will always attempt WebSockets first, falling back to SPDY as needed. Scripts or CI environments relying on these variables should remove them. Additionally, the name field in kuberc credential plugin allowlist entries, deprecated since v1.36, will be completely removed in v1.38 as the kuberc API graduates to stable. Users must migrate any name aliases to command to avoid breakage.

Another significant ongoing change is the phasing out of cgroup v1 support. While the failCgroupV1: false option temporarily bypasses startup failures on cgroup v1 nodes, it is explicitly a short-term solution. A future release will entirely remove cgroup v1 support, making migration to cgroup v2 critical for sustained operation. Furthermore, admission webhooks will no longer receive requests for virtual resources like TokenReview, SelfSubjectReview, or SubjectAccessReview when the ExcludeAdmissionWebhookVirtualResources feature gate is enabled (which is default since v1.37). This feature will eventually be locked on, so webhooks relying on these requests must be re-evaluated.

Breaking Changes and Operational Requirements

v1.38 introduces potentially breaking changes, particularly concerning container runtime integration and resource management. The kubelet in v1.38 will now primarily rely on the CRI RuntimeConfig RPC to discover the cgroup driver from the container runtime. The legacy mechanism for configuring the cgroup driver via the kubelet configuration file will be deprecated and unavailable by default. If the kubelet cannot obtain the cgroup driver from the runtime, it will exit, preventing node registration. This means container runtimes must be started and ready before the kubelet, and kubeadm will also adjust its default behavior and preflight checks accordingly. Nodes running older, incompatible container runtimes will require careful upgrades following the release notes.

For nodes utilizing cgroup v2 with LimitedSwap, a significant swap behavior change is coming. The kubelet will apply swap limits based on a Pod's pod-level memory settings. If a Pod's memory request and limit are equal at the pod-level, it will receive no swap at all, even if individual containers within it specify lower memory requests. Administrators should proactively review any workloads dependent on swap to prevent performance issues or failures post-upgrade.

Key Enhancements and Future-Proofing

Beyond breaking changes, v1.38 delivers several enhancements graduating to stable. The kuberc (kubectl user preferences) configuration file is set to stabilize, providing a robust mechanism for managing aliases and credential plugin policies. Pod-level resources, which allow setting CPU, memory, and hugepages requests and limits for an entire Pod, are also graduating to stable, offering more granular resource control. Dynamic Resource Allocation (DRA) support for partitionable devices, enabling finer-grained allocation of devices like GPUs, also achieves stable status, with its DRAPartitionableDevices feature gate locked on.

A notable alpha feature introduced is the EvictionRequest API. This API aims to provide a more coordinated approach to Pod eviction, giving applications and controllers time to prepare before termination. While it doesn't replace PodDisruptionBudgets (PDBs), it allows applications to participate in the eviction process, performing tasks such as data migration or cleanup. As an alpha feature, it requires enabling the EvictionRequestAPI feature gate and the relevant alpha API group. Comprehensive documentation will be available in the official v1.38 release notes.

Conclusion

Kubernetes v1.38 marks a release demanding administrative diligence. Prioritize planning for the cgroup v1 to v2 migration, updating kubectl configurations to remove deprecated name fields and environment variables, and ensuring container runtimes correctly report cgroup drivers before kubelet starts. Proactively check swap-dependent workloads for cgroup v2 LimitedSwap nodes. Early preparation based on these crucial changes will minimize disruption and allow for a seamless upgrade to the latest version, leveraging its stable enhancements and exploring the potential of new alpha features like the EvictionRequest API.

Source and news date

Kubernetes v1.38 Sneak Peek — 2026-11-23

Related ServerNet services

ServerNet Support

ServerNet engineering & editorial team — specialists in infrastructure, networking and web hosting.

Linux Hosting
Share:

Comments 0

No comments yet — be the first!

Leave a comment

Related service

Linux Hosting

PHP & MySQL hosting on NVMe RAID-10 with LiteSpeed — the solid base for any website, from personal blogs to enterprise Laravel apps. At a price competitors can't explain.