add gossip-seed to configuration docs

This commit is contained in:
Travis 2017-07-10 15:55:53 -06:00
parent 1bdb7c2d2e
commit e562103ec3
No known key found for this signature in database
GPG key ID: 7F08008DFD9314C9

View file

@ -144,6 +144,19 @@ Any flag that has a value that is a comma separated list on the command line bec
data-dir = "~/.pilosa"
```
#### Gossip Seed
* Description: When using the gossip [Cluster Type]({{< ref "#cluster-type" >}}), this specifies which internal host should be used to initialize membership in the cluster. Typcially this can be the address of any available host in the cluster. For example, when starting a three-node cluster made up of `node0`, `node1`, and `node2`, the `gossip-seed` for all three nodes can be configured to be the address of `node0`.
* Flag: `--gossip-seed="localhost:11101"`
* Env: `PILOSA_GOSSIP_SEED="localhost:11101"`
* Config:
```toml
[cluster]
type = "gossip"
gossip-seed = "localhost:11101"
```
#### Profile CPU
* Description: If this is set to a path, collect a cpu profile and store it there.
@ -199,4 +212,4 @@ Any flag that has a value that is a comma separated list on the command line bec
```toml
[metric]
poll-interval = "0m15s"
```
```