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

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐