We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37fb195 commit 9060fe3Copy full SHA for 9060fe3
internal/controller/ycsb_job.go
@@ -44,6 +44,7 @@ func NewYcsbPrepareJobs(cr *v1alpha1.Ycsb) []*batchv1.Job {
44
cmd = fmt.Sprintf("%s %s", cmd, NewYcsbWorkloadParams(cr))
45
cmd = fmt.Sprintf("%s -p recordcount=%d", cmd, cr.Spec.RecordCount)
46
cmd = fmt.Sprintf("%s -p operationcount=%d", cmd, cr.Spec.OperationCount)
47
+ cmd = fmt.Sprintf("%s -p threadcount=%d", cmd, cr.Spec.Threads[0])
48
cmd = fmt.Sprintf("%s %s", cmd, strings.Join(cr.Spec.ExtraArgs, " "))
49
cmd = fmt.Sprintf("%s 2>&1 | tee /var/log/ycsb.log", cmd)
50
0 commit comments