-
Notifications
You must be signed in to change notification settings - Fork 171
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
allow cpu/mem requests and limits to be set globally in the injector #235
allow cpu/mem requests and limits to be set globally in the injector #235
Conversation
Is there documentation I should update as well? |
@joemiller I will update the documentation, thank you! |
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.
Hi @joemiller, thanks for the contribution! This looks great but can you add these environment variables to the deploy/deployment.yaml
file?
Once that's added I'll approve this and merge @joemiller. Thanks again! |
d61c1b2
to
87445be
Compare
@jasonodonnell updated the |
Adds new flags and env vars to the injector config that allow changing the cpu/mem requests and limits of the injected containers: - `-cpu-request` / `AGENT_INJECT_CPU_REQUEST` - `-cpu-limit` / `AGENT_INJECT_CPU_LIMIT` - `-mem-request` / `AGENT_INJECT_MEM_REQUEST` - `-mem-limit` / `AGENT_INJECT_MEM_LIMIT`
87445be
to
5c045d6
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.
LGTM, thanks!
…ashicorp#235) Adds new flags and env vars to the injector config that allow changing the cpu/mem requests and limits of the injected containers: - `-cpu-request` / `AGENT_INJECT_CPU_REQUEST` - `-cpu-limit` / `AGENT_INJECT_CPU_LIMIT` - `-mem-request` / `AGENT_INJECT_MEM_REQUEST` - `-mem-limit` / `AGENT_INJECT_MEM_LIMIT`
Adds new flags and env vars to the injector config that allow changing the cpu/mem
requests and limits of the injected containers:
-cpu-request
/AGENT_INJECT_CPU_REQUEST
-cpu-limit
/AGENT_INJECT_CPU_LIMIT
-mem-request
/AGENT_INJECT_MEM_REQUEST
-mem-limit
/AGENT_INJECT_MEM_LIMIT
closes #216
closes #166