Validate K8s 1.27 in-place Pod spec.resources
update alpha feature
#344
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/feature
Categorizes issue or PR as related to a new feature.
scheduling
v1.x
Issues prioritized for post-1.0
Tell us about your request
Karpenter currently does tracking of resources requests, specifically in the context of understanding how many resources have been consumed on the inflight or real node and how many resources remain.
K8s 1.27 introduces an alpha feature that enables users to make in-place updates to pod resource requests. Alongside this change, since the
spec.resources
is now mutable after creation, the Pod introduces a newstatus.allocatedResources
field which indicates the resources that are currently allocated to the pod. The fieldsspec.resources
andstatus.allocatedResources
should always match unless the field has recently changed and the pod is in a transient state.Since we do inflight and real tracking of node requests (as well as scheduling simulations that rely on these requests), we should validate if our handling of requests currently is still valid with this new semantic.
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
N/A
Are you currently working around this issue?
N/A
Additional Context
No response
Attachments
No response
Community Note
The text was updated successfully, but these errors were encountered: