Rump unikernel persistance storage -
i learning rump unikernels, , ran tutorial to run nginx static server.
however many services might require sort of persistence. how can add persistence rump unikernel ?
you can attach disk , use store persistent data information. rump supports mounting external disks - see here:
https://github.com/rumpkernel/rumprun/blob/master/doc/config.md#blk-block-devices-and-filesystems
you configure mount-point , device, , attach them in same order (for example in qemu -drive argument). example, qemu virtio device, use these values:
- source: "dev"
- mountpoint: whatever path want device accessible in unikernel
- fstype: "blk" (in aws use etfs)
- path: /dev/ld0a ("0" - first device, "a" - first partition)
of course in software, can use database or other network based storage.
also, checkout project unik (full disclosure, 1 of creator) - try create management platform unikernels, rump included. 1 of our features persistent volume support.
Comments
Post a Comment