Skip to content

Examples for running FIO tests in Kubernetes.

Notifications You must be signed in to change notification settings

jeevanions/fio-kubernetes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fio-kubernetes

Example approaches for running parallel FIO tests in Kubernetes to test either RWO or RWX volumes.

For more detailed explanations please see the accompanying blog post.

Two different approaches are shown: 1) a simple deployment and PVC for RWX volumes and 2) a statefulset for RWO/RWX. Tradeoffs between the two approaches discussed below.

FIO job configs are stored as a configMap object in configs.yaml. There is currently one config, but additional configs could be added.

The docker image is a simple Alpine image based on FIO and is only ~10MB in size.

Deployment + PVC : The deployment makes scaling simple, with all pods connecting to the same dynamically provisioned persistentVolume and using a different output path to avoid collisions. This approach requires a single RWX volume, testing performance on a single shared filesystem.

Statefulset: each replica creates it's own volume, making this approach suitable for RWO volumes as well as RWX. Note that some shared filesystems will perform better if each node is using it's own filesystem, i.e., no true sharing.

About

Examples for running FIO tests in Kubernetes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%