Fix non-sidecar init container device requests#134882
Fix non-sidecar init container device requests#134882k8s-ci-robot merged 1 commit intokubernetes:masterfrom
Conversation
|
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
cca8147 to
92af2e2
Compare
|
/assign @SergeyKanzhelev could you help take at a minor change in the kubelet ? |
|
/retest |
|
one small comment, one test compile error to fix, then lgtm |
|
/retest |
|
@liggitt squash the commits, PTAL |
|
/retest |
SergeyKanzhelev
left a comment
There was a problem hiding this comment.
/lgtm
node changes and tests looks good. Scheduler changes seems ok
|
LGTM label has been added. DetailsGit tree hash: c6e1bf420530b716dc169a9aabf8b1fe6044933d |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt, SergeyKanzhelev, yliaog The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
What this PR does / why we need it:
non-sidecar init containers are run serially, sidecar init containers are running forever, hence we need to allow multiple device requests per container per resource, instead of, one device requet per container per DRA extended resource, to implement the formula given in https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/753-sidecar-containers#resources-calculation-for-scheduling-and-pod-admission
Which issue(s) this PR is related to:
#134880
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: