Note that -dev generates certs for Connect.

Previous version of the documentation didn't mention this, which can
lead to confusion when experimenting with Connect. Many other features
of Consul work fine without `-dev` mode, but Connect needs certs in
order to proxy, which must be done with this flag or by generating certs
directly and passing them to Consul in configs.
This commit is contained in:
Geoffrey Grosenbach 2018-07-06 12:26:15 -07:00
parent cd30299700
commit 361db8ebcf

View file

@ -172,7 +172,8 @@ will exit with an error at startup.
* <a name="_dev"></a><a href="#_dev">`-dev`</a> - Enable development server
mode. This is useful for quickly starting a Consul agent with all persistence
options turned off, enabling an in-memory server which can be used for rapid
prototyping or developing against the API. This mode is **not** intended for
prototyping or developing against the API. In this mode, Consul will also
generate its own certs for Connect. This mode is **not** intended for
production use as it does not write any data to disk.
* <a name="_disable_host_node_id"></a><a href="#_disable_host_node_id">`-disable-host-node-id`</a> - Setting