apisix-helm-chart icon indicating copy to clipboard operation
apisix-helm-chart copied to clipboard

Run ApiSix Helm chart without etcd Dependency

Open felpasl opened this issue 2 years ago • 8 comments

Like mention on this article:

https://apisix.apache.org/blog/2023/10/18/ingress-apisix/

change the ingress-controller deployment to give an option to deploy a lightweight instalation of the apisix based on this file:

https://github.com/apache/apisix-ingress-controller/blob/master/samples/deploy/composite.yaml

felpasl avatar Dec 22 '23 13:12 felpasl

As I can see here and here, currently this chart doesn't deploy separate etcd cluster, just start apisix container and use some local proxy (I think). However, I'm not a developer or maintainer though, just looking for a way to run a controller without etcd too :)

Friz-zy avatar Jan 03 '24 18:01 Friz-zy

@felpasl This has been added here https://github.com/apache/apisix-helm-chart/pull/671/files

Revolyssup avatar Jan 31 '24 21:01 Revolyssup

@felpasl This has been added here https://github.com/apache/apisix-helm-chart/pull/671/files

The standalone mode is different from the composite deployment of the ingress controller that embeds the gateway container in the same pod, which seems to be controlled by the .Values.config.etcdserver.enable of the apisix-ingress-controller chart only, i.e. the apisix helm chart is not needed.

vicaya avatar Apr 26 '24 16:04 vicaya

Unfortunately, the composite deployment configuration is not flexible, besides duplicating gateway configuration code in two charts. Since the apisix chart already depends on the ingress controller chart, the composite deployment mode should embed the ingress controller container in the gateway pod rather than the other way around (embedding the gateway container in the ingress controller pod). So we can reuse the more comprehensive gateway configuration and remove the redundant code.

vicaya avatar Apr 27 '24 00:04 vicaya

any update on that topic? I would like to use the charts in order to deploy the "composite" deployment - how should I do that?

thanks!

yuvalgtrustmi avatar May 19 '24 11:05 yuvalgtrustmi

Seems redundant with https://github.com/apache/apisix-helm-chart/issues/617

@tao12345666333 , do you have an idea when the composite deployment will be available in chart? :)

Thanks a lot

4FunAndProfit avatar Jul 15 '24 19:07 4FunAndProfit

@4FunAndProfit is it not already available via https://github.com/apache/apisix-ingress-controller/issues/2130?

rknightion avatar Aug 13 '24 19:08 rknightion

@rknightion no, in composite mode, the ingress controller embeds the gateway container in the same pod

4FunAndProfit avatar Aug 17 '24 08:08 4FunAndProfit

I share these steps to run APISIX Composite Architecture using the APISIX Helm chart version 2.10.0, in case it helps others: https://github.com/apache/apisix-ingress-controller/issues/2130#issuecomment-2900493642

vortegatorres avatar May 22 '25 09:05 vortegatorres

Closed as https://github.com/apache/apisix/issues/11338#issuecomment-3162166205

juzhiyuan avatar Aug 07 '25 02:08 juzhiyuan