Open r350178982 opened 3 years ago
Good day fellas! Is there any possible to create a client by using multiple hosts(say three) in cluster? for example, client = etcd3.client(hosts=[xxxx.xxxx, xxxx, xxx]) and something like this. Or is there some other way to meet my need?
Probably, you can use this dirty hack...
>>> import etcd3 >>> host, port = "ipv4:10.0.0.1:2379,10.0.0.2:2379,10.0.0.3", 2379 >>> c = etcd3.client(host, port)
Good day fellas! Is there any possible to create a client by using multiple hosts(say three) in cluster? for example, client = etcd3.client(hosts=[xxxx.xxxx, xxxx, xxx]) and something like this. Or is there some other way to meet my need?