Skip to content
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

Consider how we can handle emptyDir #555

Open
SaaldjorMike opened this issue Feb 10, 2022 · 2 comments
Open

Consider how we can handle emptyDir #555

SaaldjorMike opened this issue Feb 10, 2022 · 2 comments
Assignees

Comments

@SaaldjorMike
Copy link
Member

We generally won't recommend emptyDir for storage nodes. We should probably do something to make it clear that this is not recommended to use, unless in very specific use-cases.

@SaaldjorMike
Copy link
Member Author

Perhaps we can check for certain cases, like httponly nodes & ephemeral disks, which would allow emptyDir.
But if we can't know for certain if a given configuration is safe to use emptyDir with, then we may want to introduce a flag to opt-in to emptyDir, with documentation etc. describing when it may make sense to use emptyDir - and also when it does not.

@bderrly
Copy link
Contributor

bderrly commented Mar 30, 2023

This might have saved us a lot of heartache recently. I set up our production cluster with emptyDir not understanding the full implications of it. Now we are paying the price when there are node pool upgrades on our GKE cluster. I just filed #680 which I think can help us even after we make the move to a local PVC.

@bsocaciu bsocaciu self-assigned this Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants