Enable periodic Ceph performance testing¶
TechPreview
Warning
Performance testing affects the overall Ceph cluster performance. Do not run it unless you are sure that user load will not be affected.
This section describes how to configure periodic Ceph performance testing using Kubernetes batch or cron jobs that execute a fio process in a separate container with a connection to the Ceph cluster. The test results can then be stored in a persistent volume attached to the container.
Ceph performance testing is managed by the KaaSCephOperationRequest CR that
creates separate CephPerfTestRequest requests to handle the test run. Once
you configure the perfTest section of the KaaSCephOperationRequest
spec, it propagates to CephPerfTestRequest on the MOSK
cluster in the ceph-lcm-mirantis namespace. You can create a performance
test for a single or scheduled runs.