Files
kata-containers/tests/metrics/storage/fio-k8s
David Esparza adfea55b8f metrics: fix FIO test initialization
This PR changes the order in which the FIO test first
cleans the environment and then checks if the environment
is indeed clean.

Fixes: #7869

Signed-off-by: David Esparza <david.esparza.borquez@intel.com>
2023-09-07 15:41:59 -06:00
..
2023-07-27 16:47:17 +00:00

FIO test in Kubernetes

This is an automation to run fio with Kubernetes.

Requirements:

  • Kubernetes cluster running.
  • Kata configured as runtimeclass.

Test structure:

  • fio-test: Program wrapper to launch fio in a K8s pod.
  • pkg: Library code that could be used for more fio automation.
  • configs: Configuration files used by fio-test.
  • DAX-compare-test: Script to run fio-test to generate fio data for Kata with/without virtio-fs DAX and K8s bare-metal runtime(runc).
  • report Jupyter Notebook to create reports for data generated by DAX-compare-test.

Top-level Makefile targets

  • build: Build fio metrics.
  • test: quick test, used to verify changes in fio-test.
  • run: Run fio metrics and generate reports.
  • test-report-interactive: Run python notebook in localhost:8888, useful to edit the report.
  • test-report: Generate report from data generated by make test.