1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-09 23:44:52 +00:00

Fixed slowlog path on mariadb

This commit is contained in:
2023-03-07 17:34:14 +00:00
parent 508dd493a1
commit fc3623008b

View File

@@ -62,6 +62,8 @@ spec:
volumeMounts: volumeMounts:
- name: wrestlingdev-mariadb-persistent-storage - name: wrestlingdev-mariadb-persistent-storage
mountPath: /var/lib/mysql mountPath: /var/lib/mysql
- name: mysettings-config-volume
mountPath: /etc/mysql/mariadb.conf.d
# resources: # resources:
# limits: # limits:
# memory: "512Mi" # memory: "512Mi"
@@ -125,8 +127,6 @@ spec:
volumeMounts: volumeMounts:
- name: wrestlingdev-mariadb-persistent-storage - name: wrestlingdev-mariadb-persistent-storage
mountPath: /var/lib/mysql mountPath: /var/lib/mysql
- name: mysettings-config-volume
mountPath: /etc/mysql/mariadb.conf.d
# resources: # resources:
# limits: # limits:
# memory: "100Mi" # memory: "100Mi"
@@ -181,7 +181,6 @@ spec:
configMap: configMap:
name: mariadb-mysettings name: mariadb-mysettings
--- ---
# /etc/mysql/mariadb.conf.d/70-mysettings.cnf
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
@@ -202,4 +201,6 @@ data:
max_heap_table_size=32M max_heap_table_size=32M
performance_schema=ON performance_schema=ON
innodb_log_file_size=32M innodb_log_file_size=32M
table_open_cache=4000 table_open_cache=4000
# /etc/mysql/mariadb.conf.d/70-mysettings.cnf