prod init dir

main
ycz008 2024-04-02 15:46:29 +08:00
parent c5c56e22ba
commit f466fffd7f
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ 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}
mkdir -p /var/lib/mysql/logs
chown -R 999:999 /var/lib/mysql
securityContext:
privileged: true

View File

@ -66,7 +66,7 @@ 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}
mkdir -p /var/lib/mysql/logs
chown -R 999:999 /var/lib/mysql
securityContext:
privileged: true