-
Notifications
You must be signed in to change notification settings - Fork 20
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
chore: add options for resource requests for vault-agent #275
chore: add options for resource requests for vault-agent #275
Conversation
73e21eb
to
59109ec
Compare
Hi @dhumphries-sainsburys, thanks for the contribution! I left a couple of notes to address and we can merge it afterwards. Please also include the docs for the new flags where appropriate. |
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.
Added a couple of notes, can merge after these are resolved. Thanks for the updates @dhumphries-sainsburys!
@ramizpolic - Think all changes are made but github UI seems to be showing something different to the commits so not entirely sure |
Linter seems to be complaining. If you could sign the commits and address the lint issue, we can merge this. Not sure why it's complaining though. |
Signed-off-by: Daniel.Humphries <daniel.humphries@sainsburys.co.uk>
187c582
to
1e8c11b
Compare
Squashed the commits as well as signed. In regards to the linter i couldn't find a problem and the error previous looked more like a problem with the linter rather than what it was linting to me |
Signed-off-by: Daniel.Humphries <daniel.humphries@sainsburys.co.uk>
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.
great work @dhumphries-sainsburys, thanks for the contribution!
Currently the vault-agent takes a resource for requests and limits combined but in usage we see that startup usage is high and ongoing usage is low so we are faced with either large amounts of wasted resources across a cluster or a risk of OOM kills on startup. This PR will just allow requests and limits to be defined independently of each other