On Tue, Mar 10, 2020 at 6:28 PM 奔波虫 <[email protected]> wrote: > > hi, > > > thanks. > > > I know that. > I want to know how to use an etcd cluster? Non stand-alone version. > use etcd proxy?
that is the todo job. the resty-etcd[1] driver has supported this feature already. we can support it in Apache APISIX. I created a github issue right now[2], welcome PR. [1] https://github.com/iresty/lua-resty-etcd/blob/master/t/v2/cluster.t#L52 [2] https://github.com/apache/incubator-apisix/issues/1231 > > > > > > yours, > > Ben > > > ------------------ 原始邮件 ------------------ > 发件人: "Ayeshmantha Perera"<[email protected]>; > 发送时间: 2020年3月10日(星期二) 晚上6:16 > 收件人: "dev"<[email protected]>;"奔波虫"<[email protected]>; > > 主题: Re: how to use an etcd cluster > > > > Hi > > It's just you have to map you're etcd host in to the config.yaml file. > > etcd: > host: "http://127.0.0.1:2379" # etcd address > prefix: > "/apisix" > # apisix configurations prefix > timeout: > 3 > # 3 seconds > > > Find this in you're config yaml and put youre host configs there > > > Regards > > Ayesh > > > On Tue, Mar 10, 2020 at 11:01 AM 奔波虫 <[email protected]> wrote: > > > Dear all, > > > > > > > > &nbsp; &nbsp; I have an etcd cluster. > > &nbsp; &nbsp; How to use the cluster in apisix? > > > > > > > > > > &nbsp; yours, > > > > &nbsp; Ben > > > > -- > *Software Engineer* > *Salzburg Research Forschungsgesellschaft * > *Salzburg, Austria* -- MembPhis My github: https://github.com/membphis Apache APISIX: https://github.com/apache/incubator-apisix
