Make the medium for the vault-env
volume configurable
#403
Labels
good first issue
Good for newcomers
kind/enhancement
Categorizes issue or PR as related to an improvement.
lifecycle/keep
Denotes an issue or PR that should be preserved from going stale.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Preflight Checklist
Problem Description
The
medium
for thevault-env
volume is currently hard-coded to beMemory
. This seems to have always been the case for the webhook.Using
Memory
as the medium means that the ~26mb for thevault-env
binary counts against the container memory limit. I can't see a reason for this as the default over a normalemptyDir
.This may not seem like much but if you have a node maxed out at 110 pods and each of them is using a
tempfs
backed volume forvault-env
then that is 2,860 mb of ram being used that could have easily been on disk with no real performance or stability impact that I am aware of.Proposed Solution
medium: Memory
for a by default.medium: Memory
for a specific pod.Alternatives Considered
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: