-
Notifications
You must be signed in to change notification settings - Fork 148
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
[#632]fix: respect volumes in rss spec #634
Conversation
This is bug fix, and it should also be included in branch-0.7. 😢 😭 cc @zuston |
Codecov Report
@@ Coverage Diff @@
## master #634 +/- ##
============================================
- Coverage 61.72% 60.90% -0.83%
- Complexity 1666 1799 +133
============================================
Files 201 214 +13
Lines 11105 12381 +1276
Branches 920 1042 +122
============================================
+ Hits 6855 7541 +686
- Misses 3876 4437 +561
- Partials 374 403 +29
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Hi, @wangao1236 @jerqi please take a look. |
Is it duplicated with this pr? #466 |
No. They are two different issues. This is a bug fix. |
IsValidSts: func(sts *appsv1.StatefulSet, rss *uniffleapi.RemoteShuffleService) (valid bool, err error) { | ||
for _, volume := range sts.Spec.Template.Spec.Volumes { | ||
if volume.Name == testVolumeName { | ||
return true, nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can compare the contents of your custom volume by deepcopy method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addressed. Please take a look again
### What changes were proposed in this pull request? respect volumes for rss coordinator and shuffle server ### Why are the changes needed? This is a bug fix Fix: #632 ### Does this PR introduce _any_ user-facing change? Admin of rss cluster could specify the volumes which could be used to configure hadoop conf for example ### How was this patch tested? Added UTs.
merged master & branch-0.7 |
What changes were proposed in this pull request?
respect volumes for rss coordinator and shuffle server
Why are the changes needed?
This is a bug fix
Fix: #632
Does this PR introduce any user-facing change?
Admin of rss cluster could specify the volumes which could be used to configure
hadoop conf for example
How was this patch tested?
Added UTs.