Mirantis Container Cloud (MCC) becomes part of Mirantis OpenStack for Kubernetes (MOSK)!
Starting with MOSK 25.2, the MOSK documentation set will cover all product layers, including MOSK management (formerly MCC). This means everything you need will be in one place. The separate MCC documentation site will be retired, so please update your bookmarks for continued easy access to the latest content.
KaaSCephOperationRequest CR perftest specification¶
TechPreview
This section describes the KaaSCephOperationRequest
CR specification used
to automatically create a CephPerfTestRequest
request. For the procedure
workflow, see Enable periodic Ceph performance testing.
Spec of the KaaSCephOperationRequest perftest high-level parameters¶
Parameter |
Description |
---|---|
|
Describes the definition for the |
|
Defines spec:
kaasCephCluster:
name: ceph-kaas-mgmt
namespace: default
|
|
Defines the cluster on which the spec:
k8sCluster:
name: kaas-mgmt
namespace: default
If you omit this parameter, |
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 KaaSCephOperationRequest
apiVersion: kaas.mirantis.com/v1alpha1
kind: KaaSCephOperationRequest
metadata:
name: test-managed-req
namespace: managed-ns
spec:
kaasCephCluster:
name: ceph-cluster-managed-cluster
namespace: managed-ns
perfTest:
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