thanks for responding I tried it, still doesn't automatically generate new volumes for the new pods. PetSets/StatefulSets using "volumeClaimTemplates" for that. Is there a tool like that for Deployment?
On Thursday, January 5, 2017 at 6:19:43 PM UTC-5, Vishnu Kannan wrote: > > Check out dynamic volumes provisioning here > <http://blog.kubernetes.io/2016/10/dynamic-provisioning-and-storage-in-kubernetes.html> > . > > On Thu, Jan 5, 2017 at 3:07 PM, Montassar Dridi <montass...@gmail.com > <javascript:>> wrote: > >> Hello!! >> >> I'm using Kubernetes deployment with persistent volume to run my >> application, but when I try to add more replicas or autoscale, all the new >> pods try to connect to the same volume. >> How can I simultaneously auto create new volumes for each new pod., like >> statefulsets(petsets) are able to do it. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Kubernetes user discussion and Q&A" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to kubernetes-use...@googlegroups.com <javascript:>. >> To post to this group, send email to kubernet...@googlegroups.com >> <javascript:>. >> Visit this group at https://groups.google.com/group/kubernetes-users. >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.