-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Set CPU and Memory resources for the metrics exporter container #132
Comments
Hi @AbdelrhmanHamouda, for your consideration |
Hello @apeduru-patreon, Basically, with the currently proposed solution, the "master" pod will have 2X the resources and possibly under-utilising the "metrics exporter" ones. |
Update: I am working on the proposal mentioned in the previous message and will be pushing it soon. This change will default to the current exporter but will allow the metrics exporter to be fully configurable through helm overrides:
|
ability to set custom image for metrics will be cool |
This is indeed included in the new version to be pushed. However, it is important to stress that the operator will guarantee an "out of the box" integration with default exporter, if a user chose to opt for another exporter, they must make sure that it is compatible with the operator. |
- Exhaustive guide on all available values for overrides and exact value names. - Update RoadMap
@apeduru-patreon Thank you so much for the contribution and for taking the time to go through the project and find where to do the change. As discussed in the issue, I had some concerns about the actual resource utilisation of the proposed solution. However, I understand that this is a blocking issue for you in the organisation and thus, the latest version of the operator V0.8.0, fully support the mentioned use case. The Metrics exporter will now request resources by default and it is possible to control exactly the amounts requested (HELM VALUES). Please feel encouraged to try out the new version and let me know if it is matching your expectations |
Is your feature request related to a problem? Please describe.
We have a custom OPA admission controller policy that watches for and rejects containers that do not have CPU and Memory resources defined. The
locust-metrics-exporter
in fact does not have these resources set so when spinning up the locust master worker it errors out as seen in this error message below.Describe the solution you'd like
I've implemented a solution in this PR: #131
which reuses the same resources defined for the load gen container.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: