Hi,
We are deploying the Elasticsearch and one of the container is for elasticdb. the default location for the database is under "/usr/share/Elasticsearch" it creates a data directory and database is created here. How to change this default location to a mounted volume path so that it can be persistent over upgrade.
We added as below in deployment.yaml
<
volumeMounts:
- mountPath: /Elasticsearch/data
name: elasticdb-data
volumes:
- name: elasticdb-data
hostPath:
path: /data
/>
But still the data base is not created here. kindly suggest if any parameter needs to be updated.