cluster/services/consul: set bootstrap_expect
This commit is contained in:
parent
fa36c5879c
commit
d720ba41a6
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ in
|
|||
bind_addr = hl.ipv4;
|
||||
ports.serf_lan = hl.port;
|
||||
retry_join = map (hostName: hostLinks.${hostName}.consul.tuple) (cfg.otherNodes.agent hostName);
|
||||
bootstrap_expect = builtins.length cfg.nodes.agent;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue