Merge pull request #835 from yuce/817-gossip-seed-doc

TRIVIAL: Fixes gossip-seed configuration example
This commit is contained in:
Yuce Tekol 2017-09-21 22:40:59 +03:00 • committed by GitHub
commit 4447225481

View file

@ -65,6 +65,17 @@ Any flag that has a value that is a comma separated list on the command line bec
bind = localhost:10101
```
#### Data Dir
* Description: Directory to store Pilosa data files.
* Flag: `--data-dir="~/.pilosa"`
* Env: `PILOSA_DATA_DIR="~/.pilosa"`
* Config:
```toml
data-dir = "~/.pilosa"
```
#### Gossip Port
* Description: Port to which Pilosa should bind for internal communication.
@ -76,6 +87,17 @@ Any flag that has a value that is a comma separated list on the command line bec
gossip-port = 11101
```
#### 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
gossip-seed = "localhost:11101"
```
#### Cluster Hosts
* Description: List of hosts in the cluster. Multiple hosts should be comma separated in the flag and env forms.
@ -127,30 +149,6 @@ Any flag that has a value that is a comma separated list on the command line bec
type = "gossip"
```
#### Data Dir
* Description: Directory to store Pilosa data files.
* Flag: `--data-dir="~/.pilosa"`
* Env: `PILOSA_DATA_DIR="~/.pilosa"`
* Config:
```toml
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.