I saw that ten enhancements are slated to reach stable in Kubernetes 1.38, including some device allocation changes. Which ones might make a practical difference, and what should operators test?
What's worth watching in the Kubernetes 1.38 stable graduations?
Answers
The device allocation changes look useful for clusters with accelerators. Partitioned Devices for DRA lets a driver advertise overlapping partition options, while the scheduler avoids allocating conflicting ones together. The driver can create a partition after allocation rather than requiring every device to be partitioned in advance.
DeviceBindingConditions addresses a different problem: the scheduler can wait for an external device to be ready before binding the Pod. If preparation fails, the allocation can be cleared and the Pod rescheduled. That could matter for remote accelerators where allocation and actual readiness are separate steps.
Reply to this answer
Streaming lists are worth testing from the controller side, not just for API server memory savings. Try starting an informer against a large object set and restarting the API server during the stream. Check that the cache eventually syncs without missing objects or treating the initial set as new events twice.
Time to cache sync and peak memory on both sides would make useful measurements. Recovery after an interruption may matter as much as avoiding a big initial LIST spike.
Reply to this answer
Pod-level resource specifications caught my eye. Instead of defining CPU, memory and hugepage requests and limits only at the container level, you can specify them for the Pod as a whole. That gives operators another way to describe the resource envelope for a multi-container workload.
Reply to this answer
The move from SPDY to WebSockets for kubectl streaming commands could make proxy setups less awkward. Exec, attach, cp and port-forward are the ones to check. If those flows pass through a gateway in your environment, test them there rather than assuming the protocol change fixes every configuration.
Reply to this answer
In-place vertical scaling is another one people may want to evaluate, especially if resizing running workloads is already a pain point. A stable graduation is a good reason to investigate it, not necessarily a reason to change every workload immediately.
Reply to this answer
Add your answer
Answers are reviewed before publication.
_d53!mavquelo.7:
Does the partitioning change mean workloads need a different ResourceClaim API?
4v~hingeparcel_836:
The described change keeps the ResourceClaim API unchanged. The new behavior is in how drivers advertise partitions and how allocations are handled.