-
Notifications
You must be signed in to change notification settings - Fork 16
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
can i use different limits and requests in mysql cluster? #783
Comments
hey @gitbarnabedikartola I am not 100% sure about this type of resource allocation but you can interact with Everets thru UI, API or directly with operator thru CRD. All those changes will then be reconciled to operator CRD and executed on your DB cluster. |
Hi @gitbarnabedikartola, as you correctly identified we set the same value for the resources' limits and requests. This was a deliberate decision to ensure the stability of the DB deployments. Currently, you can't change it. If you try to edit the manifests directly the everest operator will reconcile it and overwrite the values you set. We could expose both values in our API but users would need to be very careful in setting these values as it could lead to random DB nodes being terminated. |
Hi @recharte, yes I tried changing the values in many places, the operator always reconciles. |
Unfortunately, no. As long as the everest operator is running, it will consider any such change as a drift from the intended spec and it will reconcile everything back to the initial state (request = limits). We can add this feature request to our roadmap (cc. @PeterSzcz). However, I think that this won't be considered a high priority feature at this moment so it can take us a few months to get it released. |
Thanks for the reply, could you tell me where this request = limits function is in the source code, I can try to implement it. |
It would be great to know where to change this I also have this problem @recharte |
I have a MySQL cluster, but I would not like to allocate all the resources that could be used at some point, I would like to place a request of approximately 25% of the CPU and RAM usage limit.
I know from the UI that it does not exist. Would it be possible to edit a manifest or configuration to manually set the requests?
Thank you
The text was updated successfully, but these errors were encountered: