prod remove basedir and add logs,data
parent
f7ef763cd8
commit
6a32af49af
|
@ -66,6 +66,8 @@ spec:
|
|||
sysctl -w net.ipv4.tcp_keepalive_time=300
|
||||
sysctl -w net.ipv4.tcp_keepalive_intvl=10
|
||||
sysctl -w net.ipv4.tcp_keepalive_probes=3
|
||||
mkdir -p /var/lib/mysql/{logs,data}
|
||||
chown -R mysql.mysql /var/lib/mysql
|
||||
securityContext:
|
||||
privileged: true
|
||||
containers:
|
||||
|
|
|
@ -8,7 +8,6 @@ data:
|
|||
bind-address=0.0.0.0
|
||||
port=3306
|
||||
skip-name-resolve
|
||||
basedir=/var/lib/mysql
|
||||
datadir=/var/lib/mysql/data
|
||||
log-bin=/var/lib/mysql/logs
|
||||
plugin_dir=/var/lib/mysql/plugin
|
||||
|
@ -67,6 +66,8 @@ spec:
|
|||
sysctl -w net.ipv4.tcp_keepalive_time=300
|
||||
sysctl -w net.ipv4.tcp_keepalive_intvl=10
|
||||
sysctl -w net.ipv4.tcp_keepalive_probes=3
|
||||
mkdir -p /var/lib/mysql/{logs,data}
|
||||
chown -R mysql.mysql /var/lib/mysql
|
||||
securityContext:
|
||||
privileged: true
|
||||
containers:
|
||||
|
|
Loading…
Reference in New Issue