k8s pod 时区
containers:- args:- -c- "run.sh"command:- /bin/bashimage: quay.io/fluentd_elasticsearch/elasticsearch:v7.4.2name: elasticsearch-loggingenv:- name: TZvalue: Asi...
·
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
更多推荐
已为社区贡献4条内容
所有评论(0)