From 90da766069dc007448512c6160e88c9a47185b15 Mon Sep 17 00:00:00 2001 From: zhangqy Date: Mon, 23 Oct 2023 18:01:13 +0800 Subject: [PATCH] =?UTF-8?q?[update]=E4=BF=AE=E6=94=B9=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/modules/user/deploy/deploy.yaml | 4 ++++ docker/modules/websocket/deploy/deploy.yaml | 4 ++++ docker/qiuguo/gateway/deploy/deploy.yaml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/docker/modules/user/deploy/deploy.yaml b/docker/modules/user/deploy/deploy.yaml index 34f8753..5c0f200 100644 --- a/docker/modules/user/deploy/deploy.yaml +++ b/docker/modules/user/deploy/deploy.yaml @@ -52,6 +52,10 @@ spec: dnsPolicy: ClusterFirst restartPolicy: Always terminationGracePeriodSeconds: 30 + volumes: + - name: iot-logs + hostPath: + path: /nfs/data/qiuguo/iot/logs --- apiVersion: v1 kind: Service diff --git a/docker/modules/websocket/deploy/deploy.yaml b/docker/modules/websocket/deploy/deploy.yaml index ce0e28b..dddc506 100644 --- a/docker/modules/websocket/deploy/deploy.yaml +++ b/docker/modules/websocket/deploy/deploy.yaml @@ -52,6 +52,10 @@ spec: dnsPolicy: ClusterFirst restartPolicy: Always terminationGracePeriodSeconds: 30 + volumes: + - name: iot-logs + hostPath: + path: /nfs/data/qiuguo/iot/logs --- apiVersion: v1 kind: Service diff --git a/docker/qiuguo/gateway/deploy/deploy.yaml b/docker/qiuguo/gateway/deploy/deploy.yaml index 2f05818..2c906cc 100644 --- a/docker/qiuguo/gateway/deploy/deploy.yaml +++ b/docker/qiuguo/gateway/deploy/deploy.yaml @@ -52,6 +52,10 @@ spec: dnsPolicy: ClusterFirst restartPolicy: Always terminationGracePeriodSeconds: 30 + volumes: + - name: iot-logs + hostPath: + path: /nfs/data/qiuguo/iot/logs --- apiVersion: v1 kind: Service