-
Notifications
You must be signed in to change notification settings - Fork 81
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
Ephemeral storage too small - larger / by default? #80
Comments
@m-kostrzewa Which VM OS and provider (virtualbox or libvirt?) are you using? Would an extra disk mounted to, e.g., |
I use virtualbox and centos8. To extend it I used
Not sure about /var, I'm not that knowledgeable about k8s ephemeral storage. Not sure if "Two filesystems" configuration would help: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#configurations-for-local-ephemeral-storage |
Ah well that is using the vagrant-disksize plugin. That feature would probably be optional because of the plugin then and / or if the plugin also has libvirt support. |
I think adding it to a running instance wouldn't be straightforward, since I would need to transfer files from old /var to new /var, right? I guess I should do something like: https://www.suse.com/support/kb/doc/?id=000018399 ? Is there an option to run mount scripts from vagrant? Because I also had to mount the two default additional disks for PersistentVolumes manually. IMO ideally disks would be mounted during provision at specified dirs. What do you think? |
Why do you need to move the old I'm fine with looking into adding a second disk for /var during or if the
Vagrant has options to run scripts during VM creation, but this project does not expose an option like this to users.
Are you talking about the extra disks which can be added during creation? They are not mounted anywhere as, e.g., Rook Ceph project, needs raw disks. |
My use case is local development cluster. I'd rather deploy as little things as possible. Having disks already mounted would simplify the process. It's up to maintainers where it's a use case they care about.
I know, it's really a workaround. Thing is, for development, I need to configure the following:
Since there is no way to run a "user script" right now, this needs to be done manually, live. I guess it would help a lot if this project supported running a custom script. |
I have added a new variable I'm still looking into the root partition size change. |
Thanks, I'll take a look |
Sorry for late reply, I didn't need to teardown my environment for quite a while. But I was forced to do so now, so I tested USER_POST_INSTALL_SCRIPT_PATH. It works really well, thanks! |
Feature Request
Are there any similar features already existing: Ability to configure sizes of additional disks is there - but not the primary one.
What should the feature do: Either provide a way to provision vm with larger disk&root partition or just increase it by default to 20GB or something.
What would be solved through this feature: Actively developing using k8s-vagrant-multi-node I quickly encountered issues with "NodeHasDiskPressure" due to lack of ephemeral-storage.
Does this have an impact on existing features: No.
The text was updated successfully, but these errors were encountered: