@@ -149,9 +149,9 @@ auth:
149149# # initdbScripts:
150150# # my_init_script.sh: |
151151# # #!/bin/bash
152- # # echo "Do something."
152+ # # echo "Do something."
153153# #
154- initdbScripts :
154+ initdbScripts :
155155 int-mysql.sh : |
156156 #!/bin/bash
157157 set -ex
@@ -211,14 +211,14 @@ primary:
211211 # # ref: https://mysql.com/kb/en/mysql/configuring-mysql-with-mycnf/#example-of-configuration-file
212212 # #
213213 maxConnectionLimit : 2000
214- # # against plans
214+ # # against plans
215215 extraConfig : |
216216 [mysqld]
217217 innodb_io_capacity=2000
218218 innodb_io_capacity_max=3000
219219 max_connect_errors=1000000
220220 thread_cache_size=200
221-
221+
222222 configuration : |-
223223 [mysqld]
224224 # server
@@ -250,7 +250,7 @@ primary:
250250 default-time-zone='+8:00'
251251 local_infile=ON
252252 # Replication
253-
253+
254254 log_bin=mysql-bin
255255 gtid_mode=ON
256256 enforce_gtid_consistency=ON
@@ -266,18 +266,18 @@ primary:
266266 replica_parallel_workers=8
267267
268268 # Group Replication Settings
269-
269+
270270 [client]
271271 port=3306
272272 socket=/opt/drycc/mysql/tmp/mysql.sock
273273 default-character-set=UTF8MB4
274274 plugin_dir=/opt/drycc/mysql/lib/plugin
275-
275+
276276 [manager]
277277 port=3306
278278 socket=/opt/drycc/mysql/tmp/mysql.sock
279279 pid-file=/opt/drycc/mysql/tmp/mysqld.pid
280-
280+
281281 !includedir /drycc/mysql/
282282
283283 # # @param primary.existingConfigmap Name of existing ConfigMap with MySQL Primary configuration.
@@ -593,20 +593,19 @@ primary:
593593 podLabels : {}
594594
595595cluster :
596- # # @param router.name Name of the cluster
596+ # # @param router.name Name of the cluster
597597 # #
598598 name : cluster
599599
600600 image :
601601 registry : registry.drycc.cc
602- repository : drycc-addons/mysql-shell
602+ repository : drycc-addons/mysql-shell
603603 tag : " 8.0"
604604 digest : " "
605- pullPolicy : IfNotPresent
606-
605+ pullPolicy : IfNotPresent
607606
608607router :
609- # # @param router.name Name of the router
608+ # # @param router.name Name of the router
610609 # #
611610 name : router
612611 # # @param router.replicaCount Number of MySQL secondary replicas
@@ -725,15 +724,15 @@ router:
725724 # # cpu: 250m
726725 # # memory: 256Mi
727726 # #
728- limits :
727+ limits :
729728 cpu : 250m
730729 memory : 256Mi
731730 # # Examples:
732731 # # requests:
733732 # # cpu: 250m
734733 # # memory: 256Mi
735734 # #
736- requests :
735+ requests :
737736 cpu : 250m
738737 memory : 256Mi
739738 # # Configure extra options for liveness probe
@@ -749,8 +748,8 @@ router:
749748 enabled : true
750749 initialDelaySeconds : 5
751750 periodSeconds : 10
752- timeoutSeconds : 10
753- failureThreshold : 3
751+ timeoutSeconds : 30
752+ failureThreshold : 10
754753 successThreshold : 1
755754 # # Configure extra options for readiness probe
756755 # # ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
@@ -987,7 +986,7 @@ rbac:
987986networkPolicy :
988987 # # @param networkPolicy.enabled Enable creation of NetworkPolicy resources
989988 # #
990- enabled : true
989+ enabled : true
991990 # # @param networkPolicy.allowExternal The Policy model to apply.
992991 # # When set to false, only pods with the correct
993992 # # client label will have network access to the port MySQL is listening
@@ -996,7 +995,6 @@ networkPolicy:
996995 # #
997996 allowCurrentNamespace : true
998997 allowNamespaces : []
999-
1000998
1001999# # @section Volume Permissions parameters
10021000
@@ -1019,7 +1017,7 @@ volumePermissions:
10191017 repository : drycc/base
10201018 tag : bookworm
10211019 digest : " "
1022- pullPolicy : IfNotPresent
1020+ pullPolicy : IfNotPresent
10231021 # # Optionally specify an array of imagePullSecrets.
10241022 # # Secrets must be manually created in the namespace.
10251023 # # ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
@@ -1039,7 +1037,7 @@ volumePermissions:
10391037metrics :
10401038 # # @param metrics.enabled Start a side-car prometheus exporter
10411039 # #
1042- enabled : true
1040+ enabled : true
10431041 # # @param metrics.image.registry Exporter image registry
10441042 # # @param metrics.image.repository Exporter image repository
10451043 # # @param metrics.image.tag Exporter image tag (immutable tags are recommended)
@@ -1114,10 +1112,9 @@ metrics:
11141112 # # - --collect.heartbeat.table
11151113 # #
11161114
1117-
11181115 extraArgs :
1119- primary :
1120- - --collect.info_schema.processlist
1116+ primary :
1117+ - --collect.info_schema.processlist
11211118 - --collect.perf_schema.replication_group_members
11221119 - --collect.perf_schema.replication_group_member_stats
11231120 - --collect.perf_schema.replication_applier_status_by_worker
@@ -1137,14 +1134,14 @@ metrics:
11371134 # # limits:
11381135 # # cpu: 100m
11391136 # # memory: 256Mi
1140- limits :
1137+ limits :
11411138 cpu : 100m
11421139 memory : 256Mi
11431140 # # Examples:
11441141 # # requests:
11451142 # # cpu: 100m
11461143 # # memory: 256Mi
1147- requests :
1144+ requests :
11481145 cpu : 100m
11491146 memory : 256Mi
11501147 containerSecurityContext :
@@ -1261,13 +1258,13 @@ metrics:
12611258 # # summary: MariaDB instance is down
12621259 # #
12631260 rules : []
1264-
1261+
12651262backup :
1266- enabled : false
1263+ enabled : false
12671264 schedule : " "
1268- s3 :
1265+ s3 :
12691266 endpoint : " "
12701267 bucketName : " "
1271- accessKey : " "
1272- secretKey : " "
1273- region : us-west-1
1268+ accessKey : " "
1269+ secretKey : " "
1270+ region : us-west-1
0 commit comments