From 948eb08484adba1abec36ce6ec4087c709aa7d93 Mon Sep 17 00:00:00 2001 From: zhangqy Date: Fri, 27 Oct 2023 14:10:55 +0800 Subject: [PATCH] =?UTF-8?q?[update]=E5=90=8C=E6=AD=A5=E4=B8=BB=E6=9C=BA?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/modules/user/deploy/deploy.yaml | 8 +++++--- docker/modules/websocket/deploy/deploy.yaml | 8 +++++--- docker/qiuguo/gateway/deploy/deploy.yaml | 8 +++++--- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/docker/modules/user/deploy/deploy.yaml b/docker/modules/user/deploy/deploy.yaml index d95b970..bea865a 100644 --- a/docker/modules/user/deploy/deploy.yaml +++ b/docker/modules/user/deploy/deploy.yaml @@ -46,9 +46,8 @@ spec: - mountPath: /home/qiuguo/logs name: iot-logs - name: host-time - hostPath: - path: /etc/localtime - type: '' + readOnly: true + mountPath: /etc/localtime terminationMessagePath: /nfs/data/qiuguo/iot/logs terminationMessagePolicy: File dnsPolicy: ClusterFirst @@ -58,6 +57,9 @@ spec: - name: iot-logs hostPath: path: /nfs/data/qiuguo/iot/logs + - name: host-time + hostPath: + path: /etc/localtime --- apiVersion: v1 kind: Service diff --git a/docker/modules/websocket/deploy/deploy.yaml b/docker/modules/websocket/deploy/deploy.yaml index e065c7c..7a0a58f 100644 --- a/docker/modules/websocket/deploy/deploy.yaml +++ b/docker/modules/websocket/deploy/deploy.yaml @@ -46,9 +46,8 @@ spec: - mountPath: /home/qiuguo/logs name: iot-logs - name: host-time - hostPath: - path: /etc/localtime - type: '' + readOnly: true + mountPath: /etc/localtime terminationMessagePath: /nfs/data/qiuguo/iot/logs terminationMessagePolicy: File dnsPolicy: ClusterFirst @@ -58,6 +57,9 @@ spec: - name: iot-logs hostPath: path: /nfs/data/qiuguo/iot/logs + - name: host-time + hostPath: + path: /etc/localtime --- apiVersion: v1 kind: Service diff --git a/docker/qiuguo/gateway/deploy/deploy.yaml b/docker/qiuguo/gateway/deploy/deploy.yaml index d357896..06b165d 100644 --- a/docker/qiuguo/gateway/deploy/deploy.yaml +++ b/docker/qiuguo/gateway/deploy/deploy.yaml @@ -41,9 +41,8 @@ spec: - mountPath: /home/qiuguo/logs name: iot-logs - name: host-time - hostPath: - path: /etc/localtime - type: '' + readOnly: true + mountPath: /etc/localtime terminationMessagePath: /nfs/data/qiuguo/iot/logs terminationMessagePolicy: File dnsPolicy: ClusterFirst @@ -53,6 +52,9 @@ spec: - name: iot-logs hostPath: path: /nfs/data/qiuguo/iot/logs + - name: host-time + hostPath: + path: /etc/localtime --- apiVersion: v1 kind: Service