From 4c5d8af61f3beef351adbfa9659f33d20c7fa611 Mon Sep 17 00:00:00 2001 From: liaozan <378024053@qq.com> Date: Thu, 3 Aug 2023 14:59:22 +0800 Subject: [PATCH] no messages --- k8s-deploy-template.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml index 467c9a4..7a2723c 100644 --- a/k8s-deploy-template.yaml +++ b/k8s-deploy-template.yaml @@ -44,7 +44,7 @@ spec: lifecycle: postStart: exec: - command: [ 'mkdir', '-p', '/data/logs/gc', '/data/heapdump' ] + command: ["/bin/sh", "-c", "mkdir -p /data/logs/gc /data/heapdump"] startupProbe: httpGet: scheme: HTTP -- GitLab