Consul
Serf parameters for Consul agent configuration files
The page provides reference information for Serf parameters in a Consul agent configuration file.
Serf parameters
- serf_lan- The address to bind to for Serf LAN gossip communications. The value is an IP address that should be reachable by all other LAN nodes in the cluster. By default, the value follows the same rules as- bind, and if this is not specified, the value of- bindis used. You can dynamically define this parameter with a [go-sockaddr] template that is resolved at runtime. Equivalent to the- -serf-lan-bindcommand-line flag. Do not mistake this parameter for- ports.serf_lan.
- serf_lan_allowed_cidrs- Allowed CIDRs to accept incoming connections for LAN Serf from several networks. This parameter supports multiple values. Specify networks with CIDR notation, such as- 192.168.1.0/24. Equivalent to the- -serf-lan-allowed-cidrscommand-line flag.
- serf_wan- The address thatto bind to for Serf WAN gossip communications. By default, the value follows the same rules as- bind, and if this is not specified, he value of- bindis used.You can dynamically define this parameter with a [go-sockaddr] template that is resolved at runtime. Equivalent to the- -serf-wan-bindcommand-line flag.
- serf_wan_allowed_cidrs- Allowed CIDRs allow to accept incoming connections for WAN Serf from several networks. This parameter supports multiple values. Specify networks with CIDR notation, such as- 192.168.1.0/24. Equivalent to the- -serf-wan-allowed-cidrscommand-lin flag.