So I have microcloud installed (yay) and have started creating vms, and the vms are all using the ceph (remote) storage for replication/moving between cloud nodes.
Let’s say that one of the VMs is going to host Microk8s, and one pod is going to host a Postgres database, and I want the persisted store of Postgres not in the VM itself, but from the Ceph remote layer at the cloud level.
I’m assuming that I just use the rbd command to create the Ceph storage, then attach the new block device to the VM hosting microk8s and mount it, then configure the pod so it uses the special store for the Postgres database.
This would create an RBD volume (if using a ceph pool), format it with ext4 (this is configurable on the volume at create time) and pass it through as a filesystem disk to the instance.
If you truly want just a block volume passed to the instance you can specify this using: