r/kubernetes • u/One_Paint8721 • 11h ago
10 Enhancements Graduating to Stable in Kubernetes 1.38
According to the official tracker, only 10 KEPs are set to graduate to Stable in the 1.38 release later this month. This is the entire list:
Partitioned Devices for DRA (KEP-4815, sig-scheduling)
Vendors can now advertise overlapping partitions, and the scheduler makes sure conflicting ones are never allocated together. Devices like NVIDIA MIG GPUs no longer need to be pre-partitioned, because the driver creates the partition after allocation. The ResourceClaim API doesn't change.
DeviceBindingConditions for DRA (KEP-5007, sig-scheduling)
The scheduler can hold off binding a Pod until external resources are confirmed ready. This helps with fabric-attached GPUs, remote accelerators and FPGAs in composable disaggregated infrastructure. If preparation fails, the allocation is cleared and the Pod gets rescheduled.
SPDY finally fully transitioned over to WebSockets (KEP-4006, sig-api-machinery)
kubectl's exec, attach, cp and port-forward commands now finally stream over WebSockets instead of SPDY, which has been for nearly 12 years. These commands should finally work through L7 proxies and gateways like Envoy without workarounds.
Pod-level Resource Specifications (KEP-2837, sig-node)
You can set CPU, memory and hugepages requests and limits for the whole Pod, so containers share one resource pool. This works alongside container-level settings rather than replacing them.
Pod-level In-Place Vertical Scaling (KEP-5419, sig-node)
You can resize pod-level CPU and memory on a running Pod without recreating it. Only containers whose effective limits change get restarted. Requires cgroupv2.
IP/CIDR Validation Improvements (KEP-4858, sig-network)
Validation is stricter. It now rejects IPv4 addresses with leading zeros (the cause of CVE-2021-29923), IPv4-mapped IPv6 addresses and zone identifiers. Invalid values already stored are kept, so existing clusters won't break.
kuberc: kubectl preferences now separate from kubeconfig (KEP-3104, sig-cli)
A new ~/.kube/kuberc file holds aliases, default flags and credential plugin allowlists. It applies whichever kubeconfig is active. There's also a new kubectl kuberc command for editing it.
Streaming lists for informers (KEP-3157, sig-api-machinery)
Informers now stream their initial list over a WATCH instead of paged LISTs. This keeps API server memory at about 2 MB per watcher, prevents LIST storms in large clusters and fixes stale cache reads.
Future Conformance Tests (KEP-5922, sig-architecture)
A new [FutureConformance] label announces upcoming conformance tests ahead of time. This gives CNI plugins, cloud providers and distros time to catch up before the tests become required.
kubernetes-mixin moves to kubernetes-sigs (KEP-5905, sig-instrumentation)
The repo now lives under kubernetes-sigs. Its git history is preserved and old links redirect.