[update]同步主机时间

This commit is contained in:
zhangqy 2023-10-27 14:06:48 +08:00
parent 98e69df6c3
commit 096d8c32d4
3 changed files with 12 additions and 0 deletions

View File

@ -45,6 +45,10 @@ spec:
volumeMounts:
- mountPath: /home/qiuguo/logs
name: iot-logs
- name: host-time
hostPath:
path: /etc/localtime
type: ''
terminationMessagePath: /nfs/data/qiuguo/iot/logs
terminationMessagePolicy: File
dnsPolicy: ClusterFirst

View File

@ -45,6 +45,10 @@ spec:
volumeMounts:
- mountPath: /home/qiuguo/logs
name: iot-logs
- name: host-time
hostPath:
path: /etc/localtime
type: ''
terminationMessagePath: /nfs/data/qiuguo/iot/logs
terminationMessagePolicy: File
dnsPolicy: ClusterFirst

View File

@ -40,6 +40,10 @@ spec:
volumeMounts:
- mountPath: /home/qiuguo/logs
name: iot-logs
- name: host-time
hostPath:
path: /etc/localtime
type: ''
terminationMessagePath: /nfs/data/qiuguo/iot/logs
terminationMessagePolicy: File
dnsPolicy: ClusterFirst