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 option for reserved storage #9

Open
dklesev opened this issue Oct 30, 2021 · 1 comment
Open

Add option for reserved storage #9

dklesev opened this issue Oct 30, 2021 · 1 comment

Comments

@dklesev
Copy link

dklesev commented Oct 30, 2021

With 0.7.0 release I saw there is tracking of available space and therefore no scheduling on a node with insufficient capacity happens (RESOURCE_EXHAUSTED_EXIT_CODE). This is great :)

Currently we have the following issue - it may happen that we have e.g. 100GB of storage on a node, single disk but we need to define how much space we can use for rawdisks (e.g. 50%) because there are other components which may need that amount of storage defined as "reserved".

Would it be possible to provide this in future?

@dklesev dklesev changed the title Add option for available storage Add option for reserved storage Oct 30, 2021
@semekh
Copy link
Collaborator

semekh commented Nov 19, 2021

Thanks for your interest in rawfile-localpv @dklesev. It is indeed possible to implement that. Are you more interested in having a percentage of disk as reserved or a fixed amount? I'm also not clear on what would be a good way to make the reservation value configurable enough.

Also, are you interested in sending a PR on that?

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

No branches or pull requests

2 participants