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

Support kuberay v1.0.0 #4656

Merged
merged 4 commits into from
Jan 31, 2024
Merged

Conversation

Yicheng-Lu-llll
Copy link
Member

@Yicheng-Lu-llll Yicheng-Lu-llll commented Dec 30, 2023

Why are the changes needed?

Currently, KubeRay is undergoing significant refactoring of the RayJob, which includes lots of status changes that Flyte depends on. This update could potentially be released in KubeRay v1.2.0. Before refactoring the current Ray plugin to be based on KubeRay v1.2.0, it would be great to first support KubeRay v1.0.0 and all earlier versions. For KubeRay v1.2.0, maintaining backward compatibility will be almost impossible due to the extensive changes in RayJob.

Additionally, the KubeRay maintainers have recently decided to continue maintaining version v1alpha1 (previously deprecated) until the release of KubeRay v1.2.0.

This PR enables users to use Kuberay v1.0.0 and all earlier versions.

What changes were proposed in this pull request?

This PR introduces several new statuses while maintaining backward compatibility.

How was this patch tested?

I have tested this PR with Kuberay v0.5.2 and Kuberay v1.0.0.

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

Signed-off-by: Yicheng-Lu-llll <[email protected]>
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. enhancement New feature or request labels Dec 30, 2023
Copy link

codecov bot commented Dec 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (81ce71e) 58.11% compared to head (ff21f3a) 58.11%.
Report is 66 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4656      +/-   ##
==========================================
- Coverage   58.11%   58.11%   -0.01%     
==========================================
  Files         626      626              
  Lines       53815    53812       -3     
==========================================
- Hits        31277    31275       -2     
- Misses      20036    20037       +1     
+ Partials     2502     2500       -2     
Flag Coverage Δ
unittests 58.11% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Yicheng-Lu-llll <[email protected]>
Signed-off-by: Yicheng-Lu-llll <[email protected]>
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Dec 30, 2023
Signed-off-by: Yicheng-Lu-llll <[email protected]>
Copy link
Contributor

@EngHabu EngHabu left a comment

Choose a reason for hiding this comment

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

Thank you for carrying this on!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jan 31, 2024
@EngHabu EngHabu merged commit 2794894 into flyteorg:master Jan 31, 2024
44 of 45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants