-
Notifications
You must be signed in to change notification settings - Fork 9
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
Use tmpfs for etcd in e2e test clusters #180
Conversation
Initial tests show no significant difference running disruptor e2e tests:
Before
After
This can be due to the disk not being a bottleneck in the test machine (which uses SSD) |
Even if there's not a big improvement, it seems nicer on the environment (by means of less trashed SSDs :P) |
97e4a6c
to
d349210
Compare
Signed-off-by: Pablo Chacin <[email protected]>
d349210
to
b80969c
Compare
How can I check if this is working? I've tried running
If I exec into the |
|
@roobre You were right, I had a bug and wasn't passing the option from the e2e cluster config to the kind cluster config. Good catch. I fixed it and checked that with the default settings the etcd pod mounts the |
Signed-off-by: Pablo Chacin <[email protected]>
b80969c
to
4da5d7c
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.
👍🏻 I can see the expected volume in etcd now, LGTM. I also like this being on by default (otherwise I would surely forget to turn it on 😅)
Thanks for taking care of it!
Description
Add configuration to the kind cluster for setting etcd storage path to a memory-mapped volume.
Fixes #179
Checklist:
make lint
) and all checks pass.make test
) and all tests pass.make e2e-xxx
foragent
,disruptors
,kubernetes
orcluster
related changes)