Hacker News new | ask | show | jobs
by bogomipz 3645 days ago
Does anybody know how 1.3 is for stateless services? Can I use an API to crete a persistent disk volume and adjust that volume size just as I would any other resource like CPU, memory? The use case being postgres/mysql instances.
1 comments

You can't, in general, adjust the size of block devices purely transparently. We don't currently support blockdev resizing. Would love to talk about how to achieve that, though
Is it possible under specific circumstances such as if using LVM devices?
an LVM device is local, which is not supported as PersistentVolume. :(
Thats too bad it would be great to have an API for that. Mesos has the concept of path and mount disks, it would be neat if Kubernetes had something similar:

http://mesos.apache.org/documentation/latest/multiple-disk/

We do! it's just not a "persistent" volume because, well, it's not persistent...