Re: [kubernetes-users] Re: Autoscale volume and pods simultaneously

2018-09-07 Thread Naseem Ullah
PS > > Think of it this way - if the deployment scales up, clearly we should add > more volumes. What do I do if it scales down? Delete the volumes? Hold on > to them for some later scale-up? For how long? How many volumes? Seeing that scaling happens 1 pod at a time, having n+1

[kubernetes-users] Re: Autoscale volume and pods simultaneously

2018-09-06 Thread Naseem Ullah
Hello, I have a similar use case to Montassar. Although I could use emptyDirs, each newly spun pod takes 2-3 minutes to download required data(pod does something similar to git-sync). If volumes could be prepopulated when a new pod is spun it will simply sync the diff, which will drastically

Re: [kubernetes-users] Re: Autoscale volume and pods simultaneously

2018-09-06 Thread Naseem Ullah
here's work happening to allow creation of a volume from a snapshot, > but it's only Alpha in the next release. > On Thu, Sep 6, 2018 at 1:03 PM Naseem Ullah wrote: >> >> Hello, >> >> I have a similar use case to Montassar. >> >> Although I could use e

Re: [kubernetes-users] Re: Autoscale volume and pods simultaneously

2018-09-06 Thread Naseem Ullah
> data is important and needs to be preserved beyond any one pod (a > persistent volume)" but you're also saying "the pods have no identity > because they can scale horizontally". These are mutually incompatible > statements. > > You really want a shared storage AP

Re: [kubernetes-users] Re: Autoscale volume and pods simultaneously

2018-09-06 Thread Naseem Ullah
to clone data from one PVC > to another one or prepopulate data from some data source. Please let us know > if you have any questions about it or any requirements for the feature. > Thanks! > > On Thursday, September 6, 2018 at 1:52:11 PM UTC-7, Naseem Ullah wrote: > I do not thi

Re: [kubernetes-users] Re: Autoscale volume and pods simultaneously

2018-09-06 Thread Naseem Ullah
On Thursday, September 6, 2018 at 11:37:43 PM UTC-4, Tim Hockin wrote: > > > > On Thu, Sep 6, 2018, 3:20 PM Naseem Ullah wrote: > >> Thank you Jing and thank you Tim. >> If this feature will allow HPA enabled deployment managed pods to spawn >> with a pre

Re: [kubernetes-users] Re: Autoscale volume and pods simultaneously

2018-09-06 Thread Naseem Ullah
> > data is important and needs to be preserved beyond any one pod (a > > persistent volume)" but you're also saying "the pods have no identity > > because they can scale horizontally". These are mutually incompatible > > statements. > > &

Re: [kubernetes-users] Re: Autoscale volume and pods simultaneously

2018-09-06 Thread Naseem Ullah
On Thursday, September 6, 2018 at 11:34:00 PM UTC-4, Tim Hockin wrote: > > > > On Thu, Sep 6, 2018, 1:52 PM Naseem Ullah wrote: > >> I do not think you have to understand what you are asking for, I've >> learned a lot by asking questions I only half understood :) Wit