apisix-dashboard icon indicating copy to clipboard operation
apisix-dashboard copied to clipboard

does apisix-dashboard support deploy multiple node as loadbalance?

Open mygrsun opened this issue 4 years ago • 11 comments

Issue description

I deploy two nodes.Every node has apisix-dashboard and apisix and I use a host point to the two nodes.But the porblem is I can't login the dashboard.How can I realize dashboard loadbalance?

Expected behavior

login success

How to Reproduce

deploy two nodes.Every node has apisix-dashboard and apisix use a host point to the two nodes

Screenshots

No response

Environment

  • apisix version (cmd: apisix version):
  • OS (cmd: uname -a):
  • OpenResty / Nginx version (cmd: nginx -V or openresty -V):
  • etcd version, if have (cmd: run etcd --version):
  • apisix-dashboard version, if have:
  • Browser version, if have:

Additional context

No response

mygrsun avatar Mar 23 '22 15:03 mygrsun

But the porblem is I can't login the dashboard

Can you provide some more detailed steps? What version of the dashboard do you have and which way it is running

guoqqqi avatar Mar 24 '22 01:03 guoqqqi

@mygrsun. It is not support to manage multiple apisix node for now. So if we have an apisix that needs a dashboard to manage.

zaunist avatar Mar 24 '22 01:03 zaunist

Hi @mygrsun, I'm wondering if the two nodes are just load balancing? If so they are configured from the same etcd, then we can use one Dashboard to manage?

Baoyuantop avatar Mar 24 '22 02:03 Baoyuantop

yes ,the two dashboard use zhe same etcd。In fact,I use k8s deploy the node。Every nodes has dashboard-apisix and apisix。

mygrsun avatar Mar 25 '22 07:03 mygrsun

@mygrsun. It is not support to manage multiple apisix node for now. So if we have an apisix that needs a dashboard to manage.

I use k8s deply 。So can't I deploy two pods?

mygrsun avatar Mar 25 '22 07:03 mygrsun

But the porblem is I can't login the dashboard

Can you provide some more detailed steps? What version of the dashboard do you have and which way it is running

I use k8s deploy,dashboard version is 2.10.1

mygrsun avatar Mar 25 '22 07:03 mygrsun

yes ,the two dashboard use zhe same etcd。In fact,I use k8s deploy the node。Every nodes has dashboard-apisix and apisix。

If it's the same etcd, why not use one Dashboard?

Baoyuantop avatar Mar 25 '22 07:03 Baoyuantop

yes ,the two dashboard use zhe same etcd。In fact,I use k8s deploy the node。Every nodes has dashboard-apisix and apisix。

If it's the same etcd, why not use one Dashboard?

if i use only one dashboard ,how to avoid it crash。I want use two node as high reliability

mygrsun avatar Mar 26 '22 12:03 mygrsun

cc @nic-chen PTAL ~

guoqqqi avatar Mar 29 '22 07:03 guoqqqi

@mygrsun Actually, I don't understand what your problem is. Are your two dashboard configurations the same? If it is exactly the same, there should be no login problems.

nic-chen avatar Mar 29 '22 07:03 nic-chen

On my side, @mygrsun wants to know if there has a High availability solution.

juzhiyuan avatar Mar 31 '22 01:03 juzhiyuan