[update]同步主机时间
This commit is contained in:
parent
096d8c32d4
commit
948eb08484
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user