Thanks for clarifying, Michelle! Best, Arve
On Tue, May 23, 2017 at 1:59 AM 'Michelle Au' via Kubernetes user discussion and Q&A <kubernetes-users@googlegroups.com> wrote: > Oh sorry, I thought you meant that there was already a volume plugin that > existed and only dynamic provisioning was not supported. But it looks like > the plugin doesn't even exist at all. > > There have been attempts to write a volume plugin, but none have gotten > merged. This is the most recent I could find. > https://github.com/kubernetes/kubernetes/pull/36894 > > So in order to get it to work, you would have to implement the volume > plugin first. There's a few methods you can try, all of which are not > great... > 1) Using the workaround mentioned in the PR > 2) Implement a flex volume plugin, which is still evolving and may change > in future releases > 3) Implement an in-tree plugin > 4) Wrap the digital ocean volumes in one of the supported K8s volumes, > like nfs > > > > On Mon, May 22, 2017 at 2:53 PM, Arve Knudsen <arve.knud...@gmail.com> > wrote: > >> Michelle, how would you exactly write PersistentVolume definitions to >> access each DigitalOcean volume (assume there are 2)? When studying the >> documentation >> <https://kubernetes.io/docs/concepts/storage/persistent-volumes/#static> >> right now, I'm just not sure quite how it's to be done. I'm probably >> missing something. >> >> Thanks, >> Arve >> >> On Mon, May 22, 2017 at 7:52 PM 'Michelle Au' via Kubernetes user >> discussion and Q&A <kubernetes-users@googlegroups.com> wrote: >> >>> Hi Arve, >>> >>> I am not familiar with Rook so I cannot compare. Maybe someone else who >>> has used it can chime in. >>> >>> -Michelle >>> >>> On Mon, May 22, 2017 at 10:32 AM, Arve Knudsen <arve.knud...@gmail.com> >>> wrote: >>> >>>> Thanks Michelle! Will look into this. Can you tell me how this compares >>>> to using Rook <https://rook.io/> for the same purpose? >>>> >>>> Best, >>>> Arve >>>> >>>> On Mon, May 22, 2017 at 7:29 PM 'Michelle Au' via Kubernetes user >>>> discussion and Q&A <kubernetes-users@googlegroups.com> wrote: >>>> >>>>> Until dynamic provisioning for DigitalOcean is supported, then you can >>>>> statically create DigitalOcean PVs and give them a storageclass name. >>>>> Then >>>>> in your Statefulset PVC template, just specify the same storageclass name. >>>>> >>>>> You can also look into writing an external provisioner ( >>>>> https://github.com/kubernetes-incubator/external-storage) >>>>> >>>>> On Mon, May 22, 2017 at 6:06 AM, Arve Knudsen <arve.knud...@gmail.com> >>>>> wrote: >>>>> >>>>>> Hello! >>>>>> >>>>>> I'm looking to deploy a RethinkDB cluster as a StatefulSet on >>>>>> DigitalOcean. I'm using Ross Kukulinski's example >>>>>> <https://github.com/rosskukulinski/kubernetes-rethinkdb-cluster/tree/master/statefulset> >>>>>> as a starting point, but this is written for AWS. My understanding, from >>>>>> discussing on the CoreOS-dev mailing list, is that support is as of yet >>>>>> lacking in Kubernetes for dynamically provisioning volumes on >>>>>> DigitalOcean >>>>>> in response to PersistentVolumeClaims. How should I implement >>>>>> StatefulSets >>>>>> with persistent storage on DigitalOcean with the current version of >>>>>> Kubernetes? Might the best way forward, in order to deploy on >>>>>> DigitalOcean, >>>>>> be to simply write a DO cloud provider backend? >>>>>> >>>>>> Thanks! >>>>>> Arve >>>>>> >>>>>> -- >>>>>> 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 kubernetes-users+unsubscr...@googlegroups.com. >>>>>> To post to this group, send email to >>>>>> kubernetes-users@googlegroups.com. >>>>>> 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 kubernetes-users+unsubscr...@googlegroups.com. >>>>> To post to this group, send email to kubernetes-users@googlegroups.com >>>>> . >>>>> 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 kubernetes-users+unsubscr...@googlegroups.com. >>>> To post to this group, send email to kubernetes-users@googlegroups.com. >>>> 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 kubernetes-users+unsubscr...@googlegroups.com. >>> To post to this group, send email to kubernetes-users@googlegroups.com. >>> 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 kubernetes-users+unsubscr...@googlegroups.com. >> To post to this group, send email to kubernetes-users@googlegroups.com. >> 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 kubernetes-users+unsubscr...@googlegroups.com. > To post to this group, send email to kubernetes-users@googlegroups.com. > 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 kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.