Skip to content

Commit dc57eb0

Browse files
committed
Added MaxScale Gui
1 parent 3619e49 commit dc57eb0

File tree

4 files changed

+18
-39
lines changed

4 files changed

+18
-39
lines changed

charts/galera/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ maintainers:
66
- name: kesterriley
77
88
url: https://github.com/mariadb-kester
9-
version: 0.2.28
9+
version: 0.2.29
1010
appVersion: 1.16.4

charts/galera/templates/statefulset-galera-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ spec:
8484
- name: NODE_ADDRESS
8585
value: "eth0"
8686
- name: SST_METHOD
87-
value: "rsync"
87+
value: "mariabackup"
8888
- name: MARIADB_ROOT_SOCKET_AUTH
8989
value: "0"
9090
# - name: MARIADB_DATABASE

charts/masterreplica/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ maintainers:
66
- name: kesterriley
77
88
url: https://github.com/mariadb-kester
9-
version: 0.2.13
9+
version: 0.2.14
1010
appVersion: 1.16.1

charts/masterreplica/values.yaml

Lines changed: 15 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -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
220207
maxscaleConfigurationPassive: |-
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
335309
resources: {}
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

Comments
 (0)