-
Notifications
You must be signed in to change notification settings - Fork 129
/
cr.yaml
78 lines (78 loc) · 2.29 KB
/
cr.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
apiVersion: ripsaw.cloudbulldozer.io/v1alpha1
kind: Benchmark
metadata:
name: hammerdb-benchmark
namespace: benchmark-operator
spec:
elasticsearch:
url: http://my.elasticsearch.server:80
index_name: ripsaw-hammerdb
metadata:
collection: false
workload:
name: hammerdb
args:
#image: quay.io/user/hammerdb:latest # add custom hammerdb image
pin: false # true for nodeSelector
pin_node: "node1"
resources: false # true for resources requests/limits
requests_cpu: 200m
requests_memory: 100Mi
limits_cpu: 4
limits_memory: 16Gi
db_type: "mariadb"
timed_test: true
test_type: "tpc-c"
db_init: true # true only for first run to build schema
db_benchmark: true
db_server: "mariadb-deployment.mariadb-db"
db_port: "3306"
db_warehouses: 1
db_num_workers: 1
db_user: "root"
db_pass: "mysql"
db_name: "tpcc"
transactions: 10000
raiseerror: "false"
keyandthink: "false"
driver: "timed"
rampup: 1
runtime: 1
allwarehouse: false
timeprofile: false
async_scale: false
async_client: 10
async_verbose: false
async_delay: 1000
samples: 1
# database specific variables
# mssql:
db_mssql_tcp: "true"
db_mssql_azure: "false"
db_mssql_authentication: "windows"
db_mssql_linux_authent: "sql"
db_mssql_odbc_driver: "ODBC Driver 13 for SQL Server"
db_mssql_linux_odbc: "ODBC Driver 17 for SQL Server"
db_mssql_imdb: "false"
db_mssql_bucket: 1
db_mssql_durability: "SCHEMA_AND_DATA"
db_mssql_checkpoint: "false"
# mariadb:
db_mysql_storage_engine: "innodb"
db_mysql_partition: "false"
db_mysql_socket: "/var/lib/mysql/mysql.sock"
# postgresql
db_postgresql_superuser: "SA"
db_postgresql_superuser_pass: "s3curePasswordString"
db_postgresql_defaultdbase: "postgres"
db_postgresql_vacuum: "false"
db_postgresql_dritasnap: "false"
db_postgresql_oracompat: "false"
db_postgresql_storedprocs: "false"
# ElasticSearch custom fields
es_custom_field: false
es_ocp_version: "4.7.0"
es_cnv_version: "2.6.2"
es_db_version: "10.3.0"
es_os_version: "centos8"
es_kind: "pod"