-
Notifications
You must be signed in to change notification settings - Fork 41
make pvc count in group configurable #803
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
Conversation
Looks good, but 100 PVCs in a group sounds like really a lot. Are there any use-cases known that make groups, and do we know how large such a group is common? Please update the documentation in |
425ddb3
to
3aff3eb
Compare
I am not aware of a direct use case as such were such a large number would be required. This is the upper limit that we would allow, and that is the max count that has been tested by ceph team too, some DR use cases would require somewhere around 60-80 at max. Hence, setting the limit and default value to 100, so that it the users wont' really have to tweak the value until and unless there is some exception.
Done. |
would allow in case of Ceph, I assume? If Ceph is the reference for the value, it would be good to mention that in a comment where the default is set in the code. That is the only thing that I'd like to see improved, looks good otherwise. |
Ack, a note like the following in the
|
3aff3eb
to
1779a1c
Compare
Added the note, please take a look now. |
1779a1c
to
647bff2
Compare
647bff2
to
7ee2bf7
Compare
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.
Thanks
Added support for configuring the pvc count in a group. The min and max values are 1 and 100, anything less and more than that would result in an error in the controller manager. Also, added necessary unit tests to validate the values in the config. Signed-off-by: Nikhil-Ladha <[email protected]>
7ee2bf7
to
f201bb6
Compare
Added support for configuring the pvc count in a group. The min and max values are 1 and 100, anything less and more than that would result in an error in the controller manager.
Also, added necessary unit tests to validate the values in the config.
Fixes: #787