Re: [kubernetes-users] How can I add volumes to a job pod?

2016-09-17 Thread 'Tim Hockin' via Kubernetes user discussion and Q
Also, command is currently indented under volumeMount, which is not right On Sep 17, 2016 11:18 AM, "Derek Mahar" wrote: > On Friday, 16 September 2016 17:19:22 UTC-4, Cole Mickens wrote: >> >> Hm, I guess you didn't ask about editting the Pod, just creating it. >>

Re: [kubernetes-users] How can I add volumes to a job pod?

2016-09-17 Thread Derek Mahar
On Friday, 16 September 2016 17:19:22 UTC-4, Cole Mickens wrote: > > Hm, I guess you didn't ask about editting the Pod, just creating it. > Anyway, moving the volumes section under the Spec should fix you up. > Yes, sorry, the wording of my question suggested that I was trying to add volumes to

Re: [kubernetes-users] How can I add volumes to a job pod?

2016-09-17 Thread Derek Mahar
On Friday, 16 September 2016 17:09:20 UTC-4, Cole Mickens wrote: > > You've added the volume at the wrong place. It needs to be underneath the > spec. It's currently a layer too high (under the template). > I seem to recall getting the same error even after having indented the volumes section,