@@ -124,6 +124,11 @@ maxscaleConfigurationMaster: |-
124124 log_warning=on
125125 # Enable or disable the logging of messages whose syslog priority is debug
126126 log_debug=on
127+ admin_enabled=1
128+ admin_auth=1
129+ admin_host=0.0.0.0
130+ admin_gui=1
131+ admin_secure_gui=false
127132 ############################################
128133 ## Settings for splitting read and writes ##
129134 ############################################
@@ -198,24 +203,6 @@ maxscaleConfigurationMaster: |-
198203 port=$DB3_PORT
199204 protocol=MariaDBBackend
200205 priority=$DB3_PRIO
201- #############################
202- ## Used for Binlog Routing ##
203- #############################
204- #[BinlogRouting-Service]
205- #type=service
206- #servers=db1,db2,db3
207- #router=binlogrouter
208- #user=$MAXSCALE_USER
209- #password=$MAXSCALE_USER_PASSWORD
210- #server_id=1001003
211- #binlogdir=/var/lib/maxscale/
212- #heartbeat=60
213- #burstsize=1M
214- #[BinlogRouting-Listener]
215- #type=listener
216- #service=BinlogRouting-Service
217- #protocol=$BINLOG_PROTOCOL
218- #port=$BINLOG_PORT
219206
220207maxscaleConfigurationPassive : |-
221208 ###############################################
@@ -239,6 +226,11 @@ maxscaleConfigurationPassive: |-
239226 # Enable or disable the logging of messages whose syslog priority is debug
240227 log_debug=on
241228 passive=true
229+ admin_enabled=1
230+ admin_auth=1
231+ admin_host=0.0.0.0
232+ admin_gui=1
233+ admin_secure_gui=false
242234 ############################################
243235 ## Settings for splitting read and writes ##
244236 ############################################
@@ -313,24 +305,6 @@ maxscaleConfigurationPassive: |-
313305 port=$DB3_PORT
314306 protocol=MariaDBBackend
315307 priority=$DB3_PRIO
316- #############################
317- ## Used for Binlog Routing ##
318- #############################
319- #[BinlogRouting-Service]
320- #type=service
321- #servers=db1,db2,db3
322- #router=binlogrouter
323- #user=$MAXSCALE_USER
324- #password=$MAXSCALE_USER_PASSWORD
325- #server_id=1001003
326- #binlogdir=/var/lib/maxscale/
327- #heartbeat=60
328- #burstsize=1M
329- #[BinlogRouting-Listener]
330- #type=listener
331- #service=BinlogRouting-Service
332- #protocol=$BINLOG_PROTOCOL
333- #port=$BINLOG_PORT
334308
335309resources : {}
336310 # We usually recommend not to specify default resources and to leave this as a conscious
@@ -380,6 +354,11 @@ maxscale:
380354 port : 3307
381355 name : rwsplit
382356 targetPort : 3307
357+ guiService :
358+ type : ClusterIP
359+ port : 8989
360+ name : guiservice
361+ targetPort : 8989
383362 replicaCount : 2
384363 metrics :
385364 enabled : false
0 commit comments