Skip to content

Conversation

@mtrqq
Copy link
Contributor

@mtrqq mtrqq commented Jun 11, 2025

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

This switches cluster autoscaler snapshot to use delta based simulations instead of deep copy based ones which significantly increases the performance, previously DRA snapshot wasn't integrated with DeltaSnapshotStore thus - basic one was used, which is no longer true since merging #8090

Which issue(s) this PR fixes:

Fixes #7681

Special notes for your reviewer:

I've tested this using GCE cloud provider with node group discovery configured, cluster autoscaler was able to perform a scale-up for a node group which already contained a node in it

Does this PR introduce a user-facing change?


Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


@k8s-ci-robot k8s-ci-robot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jun 11, 2025
@mtrqq
Copy link
Contributor Author

mtrqq commented Jun 11, 2025

/assign towca

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 11, 2025
@mtrqq
Copy link
Contributor Author

mtrqq commented Jun 11, 2025

/assign jackfrancis

@towca
Copy link
Collaborator

towca commented Jun 11, 2025

/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 Jun 11, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mtrqq, towca

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 Jun 11, 2025
@k8s-ci-robot k8s-ci-robot merged commit 5bc430e into kubernetes:master Jun 11, 2025
7 checks passed
@mtrqq mtrqq deleted the dra-delta-snapshot branch June 11, 2025 12:06
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 cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CA DRA: integrate DeltaSnapshotStore with dynamicresources.Snapshot

4 participants