If I create an 50MB image file in linux, as below:
fallocate -l 50M mytest.img mke2fs -t ext4 mytest.img
Is there a way to mount that image as a volume in k8s? I can mount it on the host and then use hostPath, but I don’t want to be reliant on a host mounting for each pod, especially in a HA cluster.
Want to say that it requires the pod having some form of privilege escalation to permit mounting.