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.
  • [kubernetes-users... Arve Knudsen
    • Re: [kuberne... 'Michelle Au' via Kubernetes user discussion and Q&A
      • Re: [kub... Arve Knudsen
        • Re: ... 'Michelle Au' via Kubernetes user discussion and Q&A
          • ... Arve Knudsen
            • ... 'Michelle Au' via Kubernetes user discussion and Q&A
              • ... Arve Knudsen
                • ... Arve Knudsen

Reply via email to