From ffc80f1be3fc283cdb57c8764c4cec185b1ecb06 Mon Sep 17 00:00:00 2001 From: lianjun-zhang Date: Mon, 12 Aug 2024 16:26:59 +0800 Subject: [PATCH 1/2] =?UTF-8?q?swtich=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E6=8C=82=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/ascendplugin-910.yaml | 7 ++++++- build/ascendplugin-volcano.yaml | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/build/ascendplugin-910.yaml b/build/ascendplugin-910.yaml index e316a2c9..bfdf093d 100644 --- a/build/ascendplugin-910.yaml +++ b/build/ascendplugin-910.yaml @@ -100,6 +100,8 @@ spec: mountPath: /var/log/mindx-dl/devicePlugin - name: tmp mountPath: /tmp + - name: lingqu-log + mountPath: /var/log/lingqu env: - name: NODE_NAME valueFrom: @@ -121,4 +123,7 @@ spec: type: Directory - name: tmp hostPath: - path: /tmp \ No newline at end of file + path: /tmp + - name: lingqu-log + hostPath: + path: /var/log/lingqu \ No newline at end of file diff --git a/build/ascendplugin-volcano.yaml b/build/ascendplugin-volcano.yaml index ea19128c..4e00b1cf 100644 --- a/build/ascendplugin-volcano.yaml +++ b/build/ascendplugin-volcano.yaml @@ -106,6 +106,8 @@ spec: mountPath: /tmp - name: reset-config-dir mountPath: /user/restore/reset + - name: lingqu-log + mountPath: /var/log/lingqu env: - name: NODE_NAME @@ -140,4 +142,7 @@ spec: - name: vnpucfg hostPath: path: /etc/vnpu.cfg - type: File \ No newline at end of file + type: File + - name: lingqu-log + hostPath: + path: /var/log/lingqu \ No newline at end of file -- Gitee From 259339bd61d6f72d63a7f12b8a65173db150813e Mon Sep 17 00:00:00 2001 From: lianjun-zhang Date: Mon, 12 Aug 2024 17:06:17 +0800 Subject: [PATCH 2/2] =?UTF-8?q?swtich=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E6=8C=82=E8=BD=BD-rc2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/ascendplugin-910.yaml | 3 ++- build/ascendplugin-volcano.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build/ascendplugin-910.yaml b/build/ascendplugin-910.yaml index bfdf093d..5baaec62 100644 --- a/build/ascendplugin-910.yaml +++ b/build/ascendplugin-910.yaml @@ -126,4 +126,5 @@ spec: path: /tmp - name: lingqu-log hostPath: - path: /var/log/lingqu \ No newline at end of file + path: /var/log/lingqu + type: DirectoryOrCreate \ No newline at end of file diff --git a/build/ascendplugin-volcano.yaml b/build/ascendplugin-volcano.yaml index 4e00b1cf..a5be8eb9 100644 --- a/build/ascendplugin-volcano.yaml +++ b/build/ascendplugin-volcano.yaml @@ -145,4 +145,5 @@ spec: type: File - name: lingqu-log hostPath: - path: /var/log/lingqu \ No newline at end of file + path: /var/log/lingqu + type: DirectoryOrCreate \ No newline at end of file -- Gitee