I'm using kubernetes v1.16.10 with a Ceph 13.2.2 Mimic cluster for dynamic volume provisioning through ceph-csi.
But then I have found ceph-rbd
Ceph RBD (kubernetes.io/rbd)
https://kubernetes.io/docs/concepts/storage/storage-classes/#ceph-rbd
According to:
Ceph CSI (rbd.csi.ceph.com)
https://docs.ceph.com/docs/master/rbd/rbd-kubernetes/#block-devices-and-kubernetes
You may use Ceph Block Device images with Kubernetes v1.13 and later through ceph-csi, which dynamically provisions RBD images to back Kubernetes volumes and maps these RBD images as block devices (optionally mounting a file system contained within the image) on worker nodes running pods that reference an RBD-backed volume.
So... which one should I use?
Advantages / disadvantages?
Thanks in advance.
ceph-rbd
storage class. AFAIK ceph-rbd doesn't allow for volume resizing and i am not sure ifceph-csi
does have the capability, i have tried to follow the ceph csi guide but failed with some obscure errors. I am also curious of the differences – Englacial