Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Algo: Introduce estimation threshold control to replicas estimation #89

Merged
merged 2 commits into from
Apr 15, 2024

Conversation

zqzten
Copy link
Member

@zqzten zqzten commented Apr 15, 2024

What type of PR is this?

/kind feature
/kind algorithm

What this PR does / why we need it:

This PR introduces estimation threshold control to replicas estimation. This enables user to control the accuracy of the estimation model according to different needs. It also improves the error message of estimation failure to expose the actual reason.

This PR also includes a tweak of replicas estimation which scales resource metrics to 0~100, making model estimation working as expected.

Signed-off-by: Zach Zhu <zzqshu@126.com>
Signed-off-by: Zach Zhu <zzqshu@126.com>
@zqzten zqzten added kind/feature Categorizes issue or PR as related to a new feature or enhancements of an existing feature. kind/algorithm Categorizes issue or PR as related to algorithm. labels Apr 15, 2024
@zqzten zqzten added this to the algorithm-v0.2 milestone Apr 15, 2024
@zqzten zqzten requested a review from dayko2019 April 15, 2024 10:06
@dayko2019 dayko2019 merged commit 1a33534 into traas-stack:main Apr 15, 2024
2 checks passed
@zqzten zqzten deleted the algorithm branch April 15, 2024 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/algorithm Categorizes issue or PR as related to algorithm. kind/feature Categorizes issue or PR as related to a new feature or enhancements of an existing feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants