Re: [kubernetes-users] How can I create a PersistentVolume on a specific host?

2016-08-13 Thread
FYI, emptyDir is a best practice (vs. hostPath) - but, of course, you lose any data if the container is rescheduled. On Sat, Aug 13, 2016 at 9:10 AM, 'Tim Hockin' via Kubernetes user discussion and Q&A wrote: > You can use local disk through an emptyDir or an explicit hostPath. I > know those a

Re: [kubernetes-users] How can I create a PersistentVolume on a specific host?

2016-08-13 Thread
You can use local disk through an emptyDir or an explicit hostPath. I know those are unsatisfying, we have plans for better but it probably won't land in 1.4 On Aug 12, 2016 11:36 PM, "kay ru" wrote: > So, if I use only local host_storage plugin, I can not tell k8s that I > want storage "ssd" t

Re: [kubernetes-users] How can I create a PersistentVolume on a specific host?

2016-08-12 Thread kay ru
So, if I use only local host_storage plugin, I can not tell k8s that I want storage "ssd" to be created on the host with the label ""ssd"? On Saturday, August 13, 2016 at 7:54:52 AM UTC+2, Tim Hockin wrote: > > We don't yet have a way to back persistent volumes with node-local data. > > On Fri,

Re: [kubernetes-users] How can I create a PersistentVolume on a specific host?

2016-08-12 Thread
We don't yet have a way to back persistent volumes with node-local data. On Fri, Aug 12, 2016 at 8:25 AM, kay ru wrote: > I.e. use something like: > > nodeSelector: >kubernetes.io/hostname: k8s-node-1 > > But for PersistentVolume kind > > -- > You received this message because you a

Re: [kubernetes-users] How can I create a PersistentVolume on a specific host?

2016-08-12 Thread Rodrigo Campos
On Fri, Aug 12, 2016 at 08:25:29AM -0700, kay ru wrote: > I.e. use something like: > > nodeSelector: >kubernetes.io/hostname: k8s-node-1 > > But for PersistentVolume kind Don't get the question. The persisten volume is not created on a host, it is created on a cloud provider and

[kubernetes-users] How can I create a PersistentVolume on a specific host?

2016-08-12 Thread kay ru
I.e. use something like: nodeSelector: kubernetes.io/hostname: k8s-node-1 But for PersistentVolume kind -- 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 emai