diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml index 467c9a40fa0cc314833bfbb469137c0f984dca40..7a2723cc85e1fa7847402cd1aa386814936e6439 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