volumeMounts:
- mountPath: /usr/share/elasticsearch/config/elasticsearch.yml
subPath: elasticsearch.yml
name: elasticsearch-cfg
restartPolicy: Always
volumes:
- name: elasticsearch-cfg
hostPath:
path: /app/conf/elasticsearch/
网友评论