Kubernetes v1.38 Sneak Peek Lists cgroup Driver, kubectl WebSocket and Pod-Level Resource Changes
The Kubernetes project previewed v1.38, due December 16, detailing a breaking cgroup-driver change, removed kubectl WebSocket env vars, and three features graduating to stable.
Editor's Note ·
- Clarification:
- The Overview section quotes the blog post as saying the featured-enhancements list "is not a commitment." with a terminal period. In the source, those words are not a standalone sentence: the full sentence reads "This is not a commitment and the release content is subject to change." (the article itself quotes this complete sentence correctly later, in its "What We Don't Know" section). The earlier instance should be read as a partial quotation, not a complete one.
Overview
The Kubernetes release team published a sneak peek of version 1.38, titled “Kubernetes v1.38 Sneak Peek,” on the project’s official blog on November 23, listing deprecations, removals, and breaking changes ahead of the release, which the post says “is planned for Wednesday, December 16th, 2026.” The post, credited to release-team members Aaron Braundmeier, Arsh Sharma, Kirti Goyal, Omar Nasser, Sayan Chowdhury and Urvashi Choubey, also previews several features expected to graduate to stable. The team cautions that “the information listed below is based on the current status of the v1.38 release and may change before the actual release date,” and that the featured-enhancements list “is not a commitment.”
Breaking change: cgroup driver must come from the container runtime
The most consequential item is a change to how the kubelet determines which cgroup driver to use. According to the blog post, “the kubelet in v1.37 and older supported releases provides a legacy mechanism to configure the cgroup driver,” while “the modern way to do that is via the CRI RuntimeConfig RPC, which reports the cgroup driver that the container runtime recommends using.” In v1.38, “the kubelet defaults to not allowing the legacy configuration mechanism: it will be both deprecated and unavailable unless explicitly re-activated.”
The practical effect, the post says, is that “v1.38 nodes will essentially require that your container runtime is running before the kubelet starts,” and if the kubelet cannot retrieve the cgroup driver from the runtime, “it will exit with an error before even registering the node.” The cgroupDriver field in the kubelet configuration file is being deprecated, and the kubelet will reject it unless operators re-enable a temporary feature gate called LegacyCgroupDriverFallback. The post adds that “the kubeadm tool will also no longer set cgroupDriver to systemd by default, and its preflight checks will report an error if the runtime doesn’t support the RPC.” This mechanism was introduced under KEP-4033, whose tracking file shows the feature, gated by KubeletCgroupDriverFromCRI, reached general availability in v1.34.
Removals and other deprecations
Two other changes remove options administrators have relied on. First, the KUBECTL_REMOTE_COMMAND_WEBSOCKETS and KUBECTL_PORT_FORWARD_WEBSOCKETS environment variables, which let users opt out of kubectl’s default use of WebSockets (in place of SPDY) for exec, attach, cp and port-forward, “are going to be removed in v1.38.” The blog post advises that “if your scripts or CI environments set either of these environment variables, you can remove them since they will no longer have any effect.”
Second, as the kuberc configuration file is expected to graduate to stable, the new kubectl.config.k8s.io/v1 API drops the name field from credential-plugin allowlist entries — an alias for command that “has been deprecated since v1.36.” The post tells users with name-based allowlist entries to “change them to command now.” The kuberc feature itself, tracked as KEP-3104, lists its stable milestone as v1.38 and its feature gate as KUBECTL_KUBERC.
Separately, cgroup v1 support continues its phase-out: since v1.35 the kubelet has refused to start on cgroup v1 nodes unless failCgroupV1: false is set, and the post calls that option a “short-term fix,” with full removal planned for “a future release.” Admission webhooks also lose visibility into certain virtual API requests — TokenReview, SelfSubjectReview, SubjectAccessReview, SelfSubjectAccessReview, LocalSubjectAccessReview and SelfSubjectRulesReview — under the ExcludeAdmissionWebhookVirtualResources feature gate, which has been on by default “since v1.37” and is “planned to be locked on when the feature graduates to stable.”
Features expected to reach stable, and one new alpha
Beyond kuberc, the post lists pod-level resources — which let operators set CPU, memory and hugepages requests and limits for an entire Pod rather than per container — as expected to graduate to stable in v1.38. Its KEP, 2837, confirms v1.38 as the stable milestone under the PodLevelResources feature gate. The blog post warns that on cgroup v2 nodes configured with LimitedSwap, the kubelet will begin applying swap limits based on a Pod’s pod-level memory settings, so that “Pods whose pod-level memory request equals their memory limit will get no swap at all,” even for containers whose own memory request is lower than their limit.
DRA partitionable devices, which let a Dynamic Resource Allocation driver advertise a device such as a GPU “both as a whole and as smaller partitions,” are also expected to graduate to stable, with the DRAPartitionableDevices feature gate then locked on — a timeline corroborated by KEP-4815. A new EvictionRequest API, by contrast, is arriving only as alpha. The blog post describes it as a way to give “applications and controllers time to prepare before a Pod is evicted,” through “responders configured for the Pod” that can finish work or migrate data first; if no responder is available, Kubernetes falls back to the existing eviction mechanism, which “continues to respect PodDisruptionBudgets.” KEP-4563 lists v1.38 as the KEP’s alpha milestone, gated by EvictionRequestAPI.
What We Don’t Know
The release team’s post is explicitly preliminary, and the blog post itself notes the featured-enhancements list “is not a commitment and the release content is subject to change.” The formal v1.38 changelog, which the post says will be published at release, has not yet appeared, so final feature scope and any additional changes could still shift before December 16.