[update]同步主机时间
This commit is contained in:
parent
096d8c32d4
commit
948eb08484
@ -46,9 +46,8 @@ spec:
|
|||||||
- mountPath: /home/qiuguo/logs
|
- mountPath: /home/qiuguo/logs
|
||||||
name: iot-logs
|
name: iot-logs
|
||||||
- name: host-time
|
- name: host-time
|
||||||
hostPath:
|
readOnly: true
|
||||||
path: /etc/localtime
|
mountPath: /etc/localtime
|
||||||
type: ''
|
|
||||||
terminationMessagePath: /nfs/data/qiuguo/iot/logs
|
terminationMessagePath: /nfs/data/qiuguo/iot/logs
|
||||||
terminationMessagePolicy: File
|
terminationMessagePolicy: File
|
||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
@ -58,6 +57,9 @@ spec:
|
|||||||
- name: iot-logs
|
- name: iot-logs
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /nfs/data/qiuguo/iot/logs
|
path: /nfs/data/qiuguo/iot/logs
|
||||||
|
- name: host-time
|
||||||
|
hostPath:
|
||||||
|
path: /etc/localtime
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
@ -46,9 +46,8 @@ spec:
|
|||||||
- mountPath: /home/qiuguo/logs
|
- mountPath: /home/qiuguo/logs
|
||||||
name: iot-logs
|
name: iot-logs
|
||||||
- name: host-time
|
- name: host-time
|
||||||
hostPath:
|
readOnly: true
|
||||||
path: /etc/localtime
|
mountPath: /etc/localtime
|
||||||
type: ''
|
|
||||||
terminationMessagePath: /nfs/data/qiuguo/iot/logs
|
terminationMessagePath: /nfs/data/qiuguo/iot/logs
|
||||||
terminationMessagePolicy: File
|
terminationMessagePolicy: File
|
||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
@ -58,6 +57,9 @@ spec:
|
|||||||
- name: iot-logs
|
- name: iot-logs
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /nfs/data/qiuguo/iot/logs
|
path: /nfs/data/qiuguo/iot/logs
|
||||||
|
- name: host-time
|
||||||
|
hostPath:
|
||||||
|
path: /etc/localtime
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
@ -41,9 +41,8 @@ spec:
|
|||||||
- mountPath: /home/qiuguo/logs
|
- mountPath: /home/qiuguo/logs
|
||||||
name: iot-logs
|
name: iot-logs
|
||||||
- name: host-time
|
- name: host-time
|
||||||
hostPath:
|
readOnly: true
|
||||||
path: /etc/localtime
|
mountPath: /etc/localtime
|
||||||
type: ''
|
|
||||||
terminationMessagePath: /nfs/data/qiuguo/iot/logs
|
terminationMessagePath: /nfs/data/qiuguo/iot/logs
|
||||||
terminationMessagePolicy: File
|
terminationMessagePolicy: File
|
||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
@ -53,6 +52,9 @@ spec:
|
|||||||
- name: iot-logs
|
- name: iot-logs
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /nfs/data/qiuguo/iot/logs
|
path: /nfs/data/qiuguo/iot/logs
|
||||||
|
- name: host-time
|
||||||
|
hostPath:
|
||||||
|
path: /etc/localtime
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user