feat(limits): support NodePool node limits#2526
feat(limits): support NodePool node limits#2526k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
Conversation
Pull Request Test Coverage Report for Build 22125100432Details
💛 - Coveralls |
0d11d60 to
adcd3f0
Compare
9963517 to
1f521b4
Compare
1f521b4 to
02846f7
Compare
02846f7 to
7cc2f59
Compare
7cc2f59 to
28e49d7
Compare
28e49d7 to
f6042e1
Compare
f6042e1 to
03c3a72
Compare
|
As talked about in the recent karpenter working group, I can get rid of the flag and just make this the default behaviour if we are bringing functionality parity for node limits in-line the other resource limits (cpu, memory), but not exactly sure if that's the case or not. EDIT: based on #2657 (comment), I believe that node limits are not in line with the other resource limits. I will remove the feature flag in the next round of reviews if a maintainer agrees with me. |
|
I'm aligned, lets move forward with a flagless approach |
Nodepool node limits are now enforced during provisioning, aligning it with other resource limits. This commit adds the Node resource as a static field to the capacity of a StateNode which will always equal 1. Signed-off-by: Max Cao <macao@redhat.com>
03c3a72 to
0318d67
Compare
|
@DerekFrank |
|
/assign |
|
Sorry I haven't had a chance to take a look at this, I'm hoping to take a look sometime this week |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: DerekFrank, maxcao13 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 |
Fixes: #2657, #732
Description
This PR attempts to allow NodePool Node limits to work in the same behaviour as CPU and memory nodepool limits, and properly limit the resource from being created over the limit specifically during provisioning.
See the original issue for more details.
How was this change tested?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.