You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apisix.apache.org by 奔波虫 <25...@qq.com> on 2020/03/10 10:28:01 UTC
回复: how to use an etcd cluster
hi,
thanks.
I know that.
I want to know how to use an etcd cluster? Non stand-alone version.
use etcd proxy?
yours,
Ben
------------------ 原始邮件 ------------------
发件人: "Ayeshmantha Perera"<akayeshmantha@gmail.com>;
发送时间: 2020年3月10日(星期二) 晚上6:16
收件人: "dev"<dev@apisix.apache.org>;"奔波虫"<2562957660@qq.com>;
主题: 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 奔波虫 <2562957660@qq.com> 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*
Re: how to use an etcd cluster
Posted by YuanSheng Wang <me...@apache.org>.
On Tue, Mar 10, 2020 at 6:28 PM 奔波虫 <25...@qq.com> 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"<akayeshmantha@gmail.com>;
> 发送时间: 2020年3月10日(星期二) 晚上6:16
> 收件人: "dev"<dev@apisix.apache.org>;"奔波虫"<2562957660@qq.com>;
>
> 主题: 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 奔波虫 <2562957660@qq.com> 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