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
>
>
> ------------------ 原始邮件 ------------------
> 发件人:&nbsp;"Ayeshmantha Perera"<[email protected]&gt;;
> 发送时间:&nbsp;2020年3月10日(星期二) 晚上6:16
> 收件人:&nbsp;"dev"<[email protected]&gt;;"奔波虫"<[email protected]&gt;;
>
> 主题:&nbsp;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:
> &nbsp; host: "http://127.0.0.1:2379"; &nbsp; # etcd address
> &nbsp; prefix: 
> "/apisix"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
>  &nbsp; # apisix configurations prefix
> &nbsp; timeout: 
> 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
>  &nbsp; # 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]&gt; wrote:
>
> &gt; Dear all,
> &gt;
> &gt;
> &gt;
> &gt; &amp;nbsp; &amp;nbsp; I have an etcd cluster.
> &gt; &amp;nbsp; &amp;nbsp; How to use the cluster in apisix?
> &gt;
> &gt;
> &gt;
> &gt;
> &gt; &amp;nbsp; yours,
> &gt;
> &gt; &amp;nbsp; Ben
>
>
>
> --
> *Software Engineer*
> *Salzburg Research Forschungsgesellschaft *
> *Salzburg, Austria*



-- 
MembPhis
My github: https://github.com/membphis
Apache APISIX: https://github.com/apache/incubator-apisix

Reply via email to