pod时间不同步
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: null
labels:
run: nginx
name: nginx
spec:
containers:
- image: nginx
name: nginx
volumeMounts:
- name: host-time
mountPath: /etc/localtime
readOnly: true
dnsPolicy: ClusterFirst
restartPolicy: Always
volumes:
- name: host-time
hostPath:
path: /etc/localtime