There isn't a clean way to express what you want today. There are some ideas about being able to express local storage as volumes, but that work is a long pipeline for what feels.like a simple request.
We already have an idea of "medium" in emptyDir. What if we extended that? The question becomes how to express that multitudes of potential SSD technologies, current and yet to be developed, without resorting to calling them all the same? You could imagine a way to config kubelet to build a map of local mountpoints as named "Local" media, and then allow users to request those. It's imperfect in a lot of ways, but it might be tractable. @vishh @msau this comes up not FREQUENTLY but enough that maybe we want to think of a short term goal here? Just thinking out loud... On Mar 2, 2017 9:21 AM, "Richard Musiol" <[email protected]> wrote: > Hi, > > I would like to use GKE's local SSD feature to have fast temporary disk > space. > > The problem when using it with a "hostPath" volume as described on > https://cloud.google.com/container-engine/docs/local-ssd is that the > temporary files do not get removed when the pod gets deleted. Over time the > local SSD would fill up. > > The volume type "emptyDir" would do what I want, but I don't see how to > put it on the local SSD. > > Any ideas? > > Cheers, > Richard > > -- > 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 emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/kubernetes-users. > For more options, visit https://groups.google.com/d/optout. > -- 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 emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.
