Add support of raft bind_add and password (#1713)

Close https://github.com/zalando/patroni/issues/1705
This commit is contained in:
Alexander Kukushkin
2020-09-28 11:05:07 +02:00
committed by GitHub
parent fa6c396589
commit 885d226dac
5 changed files with 15 additions and 8 deletions
+3 -1
View File
@@ -183,9 +183,11 @@ Kubernetes
Raft
----
- **self\_addr**: ``ip:port`` to listen on for Raft connections. If not set, the node will not participate in consensus.
- **self\_addr**: ``ip:port`` to listen on for Raft connections. The ``self_addr`` must be accessible from other nodes of the cluster. If not set, the node will not participate in consensus.
- **bind\_addr**: (optional) ``ip:port`` to listen on for Raft connections. If not specified the ``self_addr`` will be used.
- **partner\_addrs**: list of other Patroni nodes in the cluster in format: ['ip1:port', 'ip2:port', 'etc...']
- **data\_dir**: directory where to store Raft log and snapshot. If not specified the current working directory is used.
- **password**: (optional) Encrypt Raft traffic with a specified password, requires ``cryptography`` python module.
Short FAQ about Raft implementation