Enable periodic Ceph performance testing¶
TechPreview
Warning
This procedure is valid for MOSK clusters that use the unsupported KaaSCephCluster custom resource (CR) instead of the
MiraCeph CR that is available since MOSK 25.2 as a new Ceph configuration
entrypoint.
For the equivalent procedure with the MiraCeph CR, refer to the following
section:
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.