-
Notifications
You must be signed in to change notification settings - Fork 2
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
Set disk size when creating a host with the plugin #12
Comments
Hi - the primary disk size is determined by the image. I could probably add support for resizing this disk after the initial deployment is complete, but it's hard to get the OS to recognise the changed disk size in a distro-independent manner. Let me see if I can dig up the Terraform driver for docker-machine - it gives you much more flexibility in terms of what docker-machine creates. |
I'll look into adding some sort of support to the driver for changing disk size (or at least adding a second disk) but may not get to that for a couple of days. In the meanwhile, you can probably do what you want using https://github.com/tintoy/docker-machine-driver-terraform (see the DD cloud example). |
Another option is to use a custom server image that has a larger system disk (i.e. one that has already been expanded). If you'd prefer to use this option, let me know - it won't be much work to add support for custom images. |
Hi, thank you very muchc for the mentioned possibilities. Is there already a possibility to change the server image? I only was able to use the Ubuntu 14 image. Enything else did not yet work. |
Only built-in images work right now, but I could add support for customer images? |
Ok, @Andreas-Maier-NTT, I'll try to get a new release out sometime today that should support using custom images (you can expand the disk in your base image to whatever size you'd like). Or if you'd prefer to use the Terraform-based Docker Machine driver instead, I can probably help you do that too. |
@tintoy : Thank you very much! Is is possible to use the feature from the integrated UI in Rancher? |
Which feature? The custom image? Yes, the image is already exposed in the plugin UI, so once I publish a new build of the driver you should be good to go. |
Ok, give v0.9.4 a try. |
When I create new host with the dimension data machine driver I always receive a host with 10 gb disk size and there is no possibility to set the disk size when creating the machine.
The text was updated successfully, but these errors were encountered: