Question

Configuring nfs-server with DO Block Storage to support replication in kubernetes

Posted January 7, 2021 186 views
Block StorageKubernetes

The service works with 1 replica only but, when i try to scale the service.
Multi-Attach error for volume
i think this has something to do with DO block storage which supports RWO only.
is there a way to make it work?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi there @jthegreat,

I believe that NFS is not really needed. I’ve recently tested this and it seems to be working as expected with a PersistentVolumeClaim and a DigitalOcean Block storage.

You can follow the steps on how to do that here:

https://www.digitalocean.com/docs/kubernetes/how-to/add-volumes/

Let me know how it goes.
Regards,
Bobby

Submit an Answer