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

[Feature] Add an e2e test for Autoscaler to scale up by manually updating minReplicas #2576

Open
1 of 2 tasks
Tracked by #2173
kevin85421 opened this issue Nov 26, 2024 · 1 comment
Open
1 of 2 tasks
Tracked by #2173
Assignees
Labels
1.3.0 autoscaler ci enhancement New feature or request good first issue Good for newcomers

Comments

@kevin85421
Copy link
Member

kevin85421 commented Nov 26, 2024

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

Users may manually update minReplicas to a value greater than replicas. Then, KubeRay will create new Pods to ensure the worker group has $minReplicas Pods. It's the Autoscaler's duty to update replicas to ensure it is equal to or greater than minReplicas.

For this test,

  • Create a RayCluster with the Autoscaler enabled, containing a worker group with replicas: 1 and minReplicas: 0.
  • Update minReplicas from 0 to 2.
  • KubeRay should create an additional Pod.
  • Submit some Ray detached actors to trigger autoscaling to 5 Pods.
  • Verify whether the Autoscaler successfully scales up to 5 Pods.
  • Check whether replicas is set to 5.

Use case

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
@LeoLiao123
Copy link
Contributor

Hi @kevin85421 , I would like to take on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.3.0 autoscaler ci enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants