Skip to content

[cluster-autoscaler-release-1.35] Integrate capacity buffers with resource quotas#9092

Merged
k8s-ci-robot merged 1 commit intokubernetes:cluster-autoscaler-release-1.35from
k8s-infra-cherrypick-robot:cherry-pick-9036-to-cluster-autoscaler-release-1.35
Jan 21, 2026
Merged

[cluster-autoscaler-release-1.35] Integrate capacity buffers with resource quotas#9092
k8s-ci-robot merged 1 commit intokubernetes:cluster-autoscaler-release-1.35from
k8s-infra-cherrypick-robot:cherry-pick-9036-to-cluster-autoscaler-release-1.35

Conversation

@k8s-infra-cherrypick-robot
Copy link
Copy Markdown

This is an automated cherry-pick of #9036

/assign jackfrancis

Integrated CapacityBuffers with the core ResourceQuotas. Buffers will now respect the defined quotas, and the number of the buffer's replicas will be shrunk accordingly if provisioning the buffer would exceed the limit.

Add ResourceQuota allocator for capacity buffers

Handle resource quota scopes

Integrate resourceQuotaAllocator with the controller

Integrated resource quota allocator with the capacity buffer controller.
 That also forced a refactor of the controller. Previously, the
 controller could process the buffers one by one, idependently of each
 other. Now, the buffers in the same namespace can depend on each other,
  since they can be limited by the same quotas. Therefore, we need to
  reconcile the entire namespaces in order to achieve deterministic
  results,

Add integration tests for the buffers controller

Use SetStatusCondition from apimachinery
@k8s-ci-robot k8s-ci-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Jan 21, 2026
@k8s-ci-robot k8s-ci-robot added the area/cluster-autoscaler Issues or PRs related to the Cluster Autoscaler component label Jan 21, 2026
@k8s-ci-robot k8s-ci-robot requested a review from elmiko January 21, 2026 22:18
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jan 21, 2026
Copy link
Copy Markdown
Contributor

@jackfrancis jackfrancis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 21, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jackfrancis, k8s-infra-cherrypick-robot

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 21, 2026
@k8s-ci-robot k8s-ci-robot merged commit a130409 into kubernetes:cluster-autoscaler-release-1.35 Jan 21, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/cluster-autoscaler Issues or PRs related to the Cluster Autoscaler component cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants