This document mentions that: For now, lets start the local agent in development mode, which is an in memory server mode with some common features enabled (despite security risks) for ease of use, and all persistence options turned off.
What is meant by “persistence options” here?
I found that I can still specify
-data-dir and generate
node-id files and directories, and I can specify
-log-file and it works. But also found that Token, KV pairs are not persistent.
I also found this documentation mentioning that : “… the only additional information Consul needs to run is the location of a directory for storing agent state data”
I’m confused between the descriptions of these two documents and what is happening in reality, and I kind of feel that they are somewhat contradictory.
I would like to know which persistence options are turned off by dev mode, not all?
What is the difference between dev mode and production mode for persistence support?