Skip to content

Conversation

@zhiying-lin
Copy link
Contributor

Description of your changes

CRPcontroller should not create a new scheduling policySnapshot for the scaling out/down cases.

  • Remove the numberOfClusters when calculating the hash
  • Remove the numberOfClusters from the scheduling policySnapshot spec
  • Add the numberOfClusters annotation on scheduling policySnapshot

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

added scaling out/down UT

@zhiying-lin zhiying-lin force-pushed the crp-fix-hash branch 4 times, most recently from ab36671 to cd62b01 Compare June 14, 2023 08:24
Copy link
Contributor

@michaelawyu michaelawyu left a comment

Choose a reason for hiding this comment

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

LGTM

@zhiying-lin zhiying-lin merged commit 33a8045 into Azure:main Jun 15, 2023
@zhiying-lin zhiying-lin deleted the crp-fix-hash branch June 15, 2023 07:55
weng271190436 pushed a commit that referenced this pull request Jan 6, 2026
Signed-off-by: Ryan Zhang <yangzhangrice@hotmail.com>
@britaniar britaniar mentioned this pull request Jan 12, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants