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

Add KubeRay e2e Test for custom idleTimeoutSeconds with v2 Autoscaler #2725

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ryanaoleary
Copy link
Contributor

@ryanaoleary ryanaoleary commented Jan 10, 2025

Why are these changes needed?

This PR adds a test case for custom idleTimeoutSeconds per worker group supported by the V2 Autoscaler starting in ray 2.40.0. The test case verifies that idleTimeoutSeconds for a worker group override the default idleTimeoutSeconds set in the autoscalerOptions by scaling up replicas of each type and then checking that they are terminated within the expected period.

This PR was tested by running go test -timeout 30m -v ./test/e2eautoscaler with the nightly version of the KubeRay operator installed, since the change adding this field to the WorkerGroupSpec api is not yet part of a release.

Related issue number

#2561

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

Signed-off-by: Ryan O'Leary <[email protected]>
Signed-off-by: Ryan O'Leary <[email protected]>
Signed-off-by: Ryan O'Leary <[email protected]>
@kevin85421 kevin85421 self-assigned this Jan 22, 2025
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