The docker image with the latest Alpine image and fio can be created with the Dockerfile.
- a deployment and PVC for RWX volumes
- a statefulset for RWO/RWX
Deployment and PersistentVolumeClaim: The deployment makes scaling simple, with all pods connecting to the same dynamically PV and using a different output path to avoid collisions. This approach requires a single RWX volume, testing performance on a single shared filesystem.
Statefulset and VolumeClaimTemplates: Each replica Pod creates it's own volume, making this approach suitable for RWO volumes as well as RWX.