From f466fffd7f445d42b55bdae4f7c835727757803c Mon Sep 17 00:00:00 2001 From: ycz008 Date: Tue, 2 Apr 2024 15:46:29 +0800 Subject: [PATCH] prod init dir --- prod-upgrade/mysql/mysql-0.yaml | 2 +- prod-upgrade/mysql/mysql-1.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/prod-upgrade/mysql/mysql-0.yaml b/prod-upgrade/mysql/mysql-0.yaml index 7f48900..ab7c344 100644 --- a/prod-upgrade/mysql/mysql-0.yaml +++ b/prod-upgrade/mysql/mysql-0.yaml @@ -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 diff --git a/prod-upgrade/mysql/mysql-1.yaml b/prod-upgrade/mysql/mysql-1.yaml index aa4cefc..a1e9bf5 100644 --- a/prod-upgrade/mysql/mysql-1.yaml +++ b/prod-upgrade/mysql/mysql-1.yaml @@ -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