Re: [kubernetes-users] Restart specific Container in a Multi Conatainer POD ?

2016-10-07 Thread
The docs are weak (absent) on this. I filed a docs bug. The idea is that when you use the configMap volume type, and later update the API object, the files on disk get updated atomically. On Fri, Oct 7, 2016 at 5:14 AM, Vinoth Narasimhan wrote: > Tim, > > Is this somewhat mounting the configmap

Re: [kubernetes-users] Restart specific Container in a Multi Conatainer POD ?

2016-10-07 Thread Vinoth Narasimhan
Those 3 containers in RC layer not in deployment :( On Friday, October 7, 2016 at 1:54:43 AM UTC+5:30, Matthias Rampke wrote: > > On Thu, Oct 6, 2016 at 5:06 PM Vinoth Narasimhan > wrote: > >> Later if we want to add some more address in it means, we update the >> configmap. >> > > How often do

Re: [kubernetes-users] Restart specific Container in a Multi Conatainer POD ?

2016-10-07 Thread Vinoth Narasimhan
Tim, Is this somewhat mounting the configmap as volume ? Can u point some link so that i can look to see if it match our requirements, Thanks for your reply. On Friday, October 7, 2016 at 12:06:00 AM UTC+5:30, Tim Hockin wrote: > > We support live-update of configmap as file projections. Obvi

Re: [kubernetes-users] Restart specific Container in a Multi Conatainer POD ?

2016-10-06 Thread Matthias Rampke
On Thu, Oct 6, 2016 at 5:06 PM Vinoth Narasimhan wrote: > Later if we want to add some more address in it means, we update the > configmap. > How often does that happen? Keep in mind that Kubernetes makes changing a deployment *easy*, and just having all the pods replaced is the baseline design.

Re: [kubernetes-users] Restart specific Container in a Multi Conatainer POD ?

2016-10-06 Thread
We support live-update of configmap as file projections. Obviously we can not support that for env, but we could allow the user to ask for a notification or something. Not sure what that API would look like.. On Thu, Oct 6, 2016 at 10:06 AM, Vinoth Narasimhan wrote: > In the kapacitor docker i

Re: [kubernetes-users] Restart specific Container in a Multi Conatainer POD ?

2016-10-06 Thread Vinoth Narasimhan
In the kapacitor docker image we used ENV to update the kapacitor configure in entrypoint. We read those ENV from configmap Let say I added the ENV as EMAIL-TO as x...@abc.com and this will update in the kapacitor config while start the pod and send alerts to this address. Later if we want to

Re: [kubernetes-users] Restart specific Container in a Multi Conatainer POD ?

2016-10-06 Thread
May I ask why? On Oct 6, 2016 15:00, "Vinoth Narasimhan" wrote: > Is there a way in kubernetes to restart a specfic container inside a > multicontainer pod > > The below pod is running with 3 container (influxdb,grafana,kapacitor) > > monitoring-influxdb-grafana-v3-n17li

[kubernetes-users] Restart specific Container in a Multi Conatainer POD ?

2016-10-06 Thread Vinoth Narasimhan
Is there a way in kubernetes to restart a specfic container inside a multicontainer pod The below pod is running with 3 container (influxdb,grafana,kapacitor) monitoring-influxdb-grafana-v3-n17li 3/3 Running I have a configmap setup . If we update the config