Enable periodic Ceph performance testing¶
TechPreview
Warning
This procedure is valid for MOSK clusters that use the MiraCeph custom
resource (CR), which is available since MOSK 25.2 to replace the unsupported
KaaSCephCluster resource. And MiraCeph will be automatically migrated
to CephDeployment in MOSK 26.1. For details, see Deprecation Notes:
KaaSCephCluster API on management clusters.
For the equivalent procedure with the unsupported KaaSCephCluster 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 CephPerfTestRequest CR that
handles test run. You can create a performance test for a single or scheduled
runs.