Re: [kubernetes-users] How to perform automatic data copy/reset with Kubernetes ?

2016-09-16 Thread Pierrick
> > I would create a container that polls or listens to git webhooks and > updates the gitRepo volume. Then it would roll the application deployment > once the volume was updated. > Interesting. The pictures are already checked out from git during the jenkins build (same repo as my app). I'd p

Re: [kubernetes-users] How to perform automatic data copy/reset with Kubernetes ?

2016-09-15 Thread Derek Mahar
On Thursday, 15 September 2016 08:51:47 UTC-4, Brandon Philips wrote: > Instead of bundling the app with the images you could use a gitRepo volume > and have the directory directly populated: > http://kubernetes.io/docs/user-guide/volumes/#gitrepo > Is it also possible to use a Git repository f

Re: [kubernetes-users] How to perform automatic data copy/reset with Kubernetes ?

2016-09-15 Thread Derek Mahar
On Thursday, 15 September 2016 08:51:47 UTC-4, Brandon Philips wrote: > > Instead of bundling the app with the images you could use a gitRepo volume > and have the directory directly populated: > http://kubernetes.io/docs/user-guide/volumes/#gitrepo > When does the gitRepo volume clone the Git r

Re: [kubernetes-users] How to perform automatic data copy/reset with Kubernetes ?

2016-09-15 Thread Brandon Philips
On Thu, Sep 15, 2016 at 3:47 AM Pierrick wrote: > Hi. > Here's what I'm trying to set up : > * An app which handle files, let's say profile pictures. A volume mount > is used. > * A single staging environment. The app is not yet in production. > * A CD pipeline with Jenkins, to automatically

[kubernetes-users] How to perform automatic data copy/reset with Kubernetes ?

2016-09-15 Thread Pierrick
Hi. Here's what I'm trying to set up : * An app which handle files, let's say profile pictures. A volume mount is used. * A single staging environment. The app is not yet in production. * A CD pipeline with Jenkins, to automatically apply updated k8s configuration (with new docker image verio