Re: [kubernetes-users] Leverage local ssd for statefulset

2017-05-08 Thread 'Michelle Au' via Kubernetes user discussion and Q
Yeah, unfortunately you'll have to write a custom operator or scheduler until local PVs are available. Another option is to consider running as a DaemonSet, then you will only have one pod per node and won't need a custom scheduler. On Mon, May 8, 2017 at 12:33 AM, vincent gromakowski <

Re: [kubernetes-users] Leverage local ssd for statefulset

2017-05-08 Thread vincent gromakowski
I was thinking of using pod to pod anti affinity and pod to node affinity to stick pod to nodes depending on local volumes. Should I write a custom scheduler to map pod to disks and then stick to nodes? -- You received this message because you are subscribed to the Google Groups "Kubernetes

Re: [kubernetes-users] Leverage local ssd for statefulset

2017-05-07 Thread 'Michelle Au' via Kubernetes user discussion and Q
We're working on a feature to allow local volumes to be specified as PVs wth scheduler integration. But it probably won't be in any production-ready state until at least 1.8. In the meantime, you might be able to use pod anti-affinity to ensure that the pods in your statefulset do not end up on

Re: [kubernetes-users] Leverage local ssd for statefulset

2017-05-07 Thread 'Vishnu Kannan' via Kubernetes user discussion and Q
+msau https://github.com/kubernetes/community/pull/306 is tackling this problem. Expect an alpha feature that includes scheduling, fault tolerance and provisioning by v1.8. On Sun, May 7, 2017 at 12:50 AM, vincent gromakowski < vincent.gromakow...@gmail.com> wrote: > Hello > I would like to

[kubernetes-users] Leverage local ssd for statefulset

2017-05-07 Thread vincent gromakowski
Hello I would like to have your opinion on statefulset implemented on local volumes. What would be the best option today ? - a custom scheduler ? - a custom scheduler + an operator ? - an external mapping system ? I would like to dedicate local disks per pod. TX Vg -- You received this