containers:
- args:
- -c
- "run.sh"
command:
- /bin/bash
image: quay.io/fluentd_elasticsearch/elasticsearch:v7.4.2
name: elasticsearch-logging
env:
- name: TZ
value: Asia/Shanghai
volumeMounts:
- name: elasticsearch-logging
mountPath: /data
- name: tz-config
mountPath: /etc/localtime
volumes:
- name: elasticsearch-logging
emptyDir: {}
- name: tz-config
hostPath:
path: /etc/localtime
k8s pod 时区
最新推荐文章于 2024-02-01 20:15:57 发布