-
Notifications
You must be signed in to change notification settings - Fork 20
fix: JVM_ARGS should be parameterised and configured on jmeter pods #69
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
base: master
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,7 +22,8 @@ | |
| "nodeLocations": "us-central1-a,us-central1-b,us-central1-c", | ||
| "minCount": 3, | ||
| "maxCount": 3, | ||
| "initialNodeCount": 3 | ||
| "initialNodeCount": 3, | ||
| "jvmArgs": "-Xms1g -Xmx1g" | ||
|
||
| } | ||
| }, | ||
| "ddlConfig" : { | ||
|
|
||
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.
Why are we removing these resources, this would mean pod can take max availabe resources on a node. Instead we should have keep these values as default and have an option to override these from setup.json .
Uh oh!
There was an error while loading. Please reload this page.
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.
Recently we have seen people trying with lesser configuration node in which case if we go with the values as default Machmeter will through Unschedule errors, can you think of any scenario where we don't want the pods to use all the available resources on node?
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.
In that case what we can do is have a smaller value for
requestswhich can be the minimum requirement for running Jmeter and remove thelimitssection.Keeping
requestswill make sure that when pod is getting scheduled it gets minimum resources to run Jmeter.One can create 1000 slaves, but when they will try to run , it might fail.
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.
Make sense, done