Mirantis Container Cloud (MCC) becomes part of Mirantis OpenStack for Kubernetes (MOSK)!
Starting with MOSK 25.2, the MOSK documentation set covers all product layers, including MOSK management (formerly MCC). This means everything you need is in one place. The separate MCC documentation site will be retired, so please update your bookmarks for continued easy access to the latest content.
CephPerfTestRequest CR perftest specification¶
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 deprecated
KaaSCephCluster
. For the equivalent procedure with the KaaSCephCluster
CR, refer to the following section:
This section describes the CephPerfTestRequest
CR specification.
For the procedure workflow, see Create a Ceph performance test request.
Ceph performance test parameters¶
Parameter |
Description |
---|---|
|
A list of command arguments for a performance test execution. For all available parameters, see fio documentation. Note Performance test results will be saved on a PVC if the test
run parameters contain an argument to save to a file. Otherwise, test
results will be saved only as Pod logs. For example, for the default
|
|
Optional. Entrypoint command to run performance test in the container. If the performance image is updated, you may also update the command. By default, equals the image entry point. |
|
Container image to use for jobs. By default, |
|
Configuration of the performance test runs as periodic jobs. Leave empty if a single run is required. For details, see Ceph performance periodic parameters. |
|
Option that enables saving of the performance test results on a PVC. Contains the following fields:
|
Ceph performance periodic parameters¶
Parameter |
Description |
---|---|
|
Required. Schedule in base cron format. For example, |
|
Pause CronJob scheduling to prevent performance test execution. Only for future scheduling. |
|
Number of runs to keep in history. Supported only by keeping old run Pods with their outputs. |
Example of CephPerfTestRequest
apiVersion: lcm.mirantis.com/v1alpha1
kind: CephPerfTestRequest
metadata:
name: test-mosk-req
namespace: ceph-lcm-mirantis
spec:
parameters:
- --ioengine=rbd
- --pool=mirablock-k8s-block-hdd
- --rbdname=tests
- --name=single_perftest
- --rw=randrw:16k
- --rwmixread=40
- --bs=4k
- --size=500M
- --iodepth=32
- --numjobs=8
- --group_reporting
- --direct=1
- --fsync=32
- --buffered=0
- --exitall