File tree Expand file tree Collapse file tree 1 file changed +97
-0
lines changed
Expand file tree Collapse file tree 1 file changed +97
-0
lines changed Original file line number Diff line number Diff line change 1+ apiVersion : mysql.radondb.com/v1alpha1
2+ kind : MysqlCluster
3+ metadata :
4+ name : sample
5+ spec :
6+ replicas : 3
7+ mysqlVersion : " 5.7"
8+
9+ # the backupSecretName specify the secret file name which store S3 information,
10+ # if you want S3 backup or restore, please create backup_secret.yaml, uncomment below and fill secret name:
11+ # backupSecretName:
12+
13+ # if you want create mysqlcluster from S3, uncomment and fill the directory in S3 bucket below:
14+ # restoreFrom:
15+
16+ mysqlOpts :
17+ rootPassword : " RadonDB@123"
18+ rootHost : localhost
19+ user : radondb_usr
20+ password : RadonDB@123
21+ database : radondb
22+ initTokuDB : true
23+
24+ # A simple map between string and string.
25+ # Such as:
26+ # mysqlConf:
27+ # expire_logs_days: "7"
28+ mysqlConf : {}
29+
30+ resources :
31+ requests :
32+ cpu : 100m
33+ memory : 256Mi
34+ limits :
35+ cpu : 500m
36+ memory : 1Gi
37+
38+ xenonOpts :
39+ image : radondb/xenon:1.1.5-alpha
40+ admitDefeatHearbeatCount : 5
41+ electionTimeout : 10000
42+
43+ resources :
44+ requests :
45+ cpu : 50m
46+ memory : 128Mi
47+ limits :
48+ cpu : 100m
49+ memory : 256Mi
50+
51+ metricsOpts :
52+ enabled : false
53+ image : prom/mysqld-exporter:v0.12.1
54+
55+ resources :
56+ requests :
57+ cpu : 10m
58+ memory : 32Mi
59+ limits :
60+ cpu : 100m
61+ memory : 128Mi
62+
63+ podPolicy :
64+ imagePullPolicy : IfNotPresent
65+ sidecarImage : radondb/mysql-sidecar:latest
66+ busyboxImage : busybox:1.32
67+
68+ slowLogTail : false
69+ auditLogTail : false
70+
71+ labels : {}
72+ annotations : {}
73+ affinity :
74+ podAntiAffinity :
75+ requiredDuringSchedulingIgnoredDuringExecution :
76+ - labelSelector :
77+ matchExpressions :
78+ - key : mysql.radondb.com/cluster
79+ operator : In
80+ values :
81+ - sample
82+ topologyKey : " kubernetes.io/hostname"
83+ priorityClassName : " "
84+ tolerations : []
85+ schedulerName : " "
86+ # extraResources defines quotas for containers other than mysql or xenon.
87+ extraResources :
88+ requests :
89+ cpu : 10m
90+ memory : 32Mi
91+
92+ persistence :
93+ enabled : true
94+ accessModes :
95+ - ReadWriteOnce
96+ # storageClass: ""
97+ size : 20Gi
You can’t perform that action at this time.
0 commit comments