ES data persistence?


I have kubernetes with elasticsearch in it, for logs. I have a single-node elastic search cluster (to keep things simple as I think I don't need bigger at the moment). /data folder is on persisted storage.

In this setup, even though data folder is persisted, each restart seems to do data loss (i don't see old logs after restart). Is that expected, and can I make a different setup so that after restart ES continues from persisted data folder?

ES_JAVA_OPTS : "-Xms256m -Xmx256m"
discovery.type: "single-node"
es-volume: /data

ES logs after restart, if important:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.