1
0
Fork 0
mirror of https://github.com/kastenhq/kubestr.git synced 2024-12-14 11:57:56 +00:00
kastenhq-kubestr/pkg/fio/fio_jobs.go
Sirish Bathina 9e128826bd
minor fixes (#29)
* minor fixes

* push to latest
2020-10-29 07:49:29 -10:00

43 lines
586 B
Go

package fio
import (
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
var fioJobs = map[string]*v1.ConfigMap{
DefaultFIOJob: {
ObjectMeta: metav1.ObjectMeta{
GenerateName: DefaultFIOJob,
},
Data: map[string]string{
DefaultFIOJob: testJob1,
},
},
}
var testJob1 = `[global]
randrepeat=0
verify=0
ioengine=libaio
direct=1
gtod_reduce=1
[job1]
name=read_iops
bs=4K
iodepth=64
size=2G
readwrite=randread
time_based
ramp_time=2s
runtime=15s
[job2]
name=write_iops
bs=4K
iodepth=64
size=2G
readwrite=randwrite
time_based
ramp_time=2s
runtime=15s
`