website: Improve docs for reloading config. Fixes #407

This commit is contained in:
Ryan Uber 2014-11-25 19:03:14 -08:00
parent 9c92ea5bcb
commit f126bb7381
2 changed files with 21 additions and 2 deletions

View File

@ -22,8 +22,10 @@ The exact merging behavior will be specified.
Consul also supports reloading of configuration when it receives the Consul also supports reloading of configuration when it receives the
SIGHUP signal. Not all changes are respected, but those that are SIGHUP signal. Not all changes are respected, but those that are
are documented below. The [reload command](/docs/commands/reload.html) are documented below in the
can also be used to trigger a configuration reload. [Reloadable Configuration](#reloadable-configuration) section. The
[reload command](/docs/commands/reload.html) can also be used to trigger a
configuration reload.
## Command-line Options ## Command-line Options
@ -439,3 +441,14 @@ port.
* DNS Interface (Default 8600). Used to resolve DNS queries. TCP and UDP. * DNS Interface (Default 8600). Used to resolve DNS queries. TCP and UDP.
## Reloadable Configuration
<a id="reloadable-configuration"></a>
Reloading configuration does not reload all configuration items. The
items which are reloaded include:
* Log level
* Checks
* Services
* Watches
* HTTP Client Address

View File

@ -19,6 +19,12 @@ This command operates the same as the signal, meaning that it will trigger
a reload, but does not wait for the reload to complete. Any errors with the a reload, but does not wait for the reload to complete. Any errors with the
reload will be present in the agent logs and not in the output of this command. reload will be present in the agent logs and not in the output of this command.
**NOTE**
Not all configuration options are reloadable. See the
[Reloadable Configuration](/docs/agent/options.html#reloadable-configuration)
section on the agent options page for details on which options are supported.
## Usage ## Usage
Usage: `consul reload` Usage: `consul reload`