kelseyhightower / confd

Manage local application configuration files using templates and data from etcd or consul
MIT License
8.33k stars 1.41k forks source link

Jump to the next node from nodelist in confd.toml in case of first node doesn't respond. #891

Open DmitryProshenkov opened 5 days ago

DmitryProshenkov commented 5 days ago

Hi, I've high availability etcd cluster (three nodes).

confd checks etcd for change of some keys and reload configs as needed.

Please find below part of confd.toml:

backend = "etcdv3" interval = 10 nodes = [ "node1:2379","node2:2379","node3:2379" ] noop = false scheme = "https" watch = true

All working fine until node1 has failed. confd just stop working with error "FATAL dial tcp..." Is this normal behavior? I think that confd must move on to the next node in list.. And etc. in case of node2 failures...