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

bug: apisix control service is not installed on k8s by helm chart

Open winglight opened this issue 2 years ago • 4 comments

Current Behavior I checker the document: https://apisix.apache.org/docs/dashboard/FAQ/#4-after-modifying-the-plugin-schema-or-creating-a-custom-plugin-in-apache-apisix-why-cant-i-find-it-on-the-dashboard, then I tried to visit apisix control api but 9091 port doesn't exist in apisix pod. Facto, I expect that it should be installed as default with apisix installation.

Expected Behavior In apisix-admin pod, there should be a control api server listening 9091.

Error Logs No response

Steps to Reproduce Install apisix by the instructions of here: https://apisix.apache.org/docs/helm-chart/apisix/

Environment APISIX version (run apisix version): 3.1.0 Operating system (run uname -a): k8s/helm OpenResty / Nginx version (run openresty -V or nginx -V): etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info): 3.5.0 APISIX Dashboard version, if relevant: Plugin runner version, for issues related to plugin runners: LuaRocks version, for installation issues (run luarocks --version):

winglight avatar Feb 20 '23 02:02 winglight

Looks like the Control API options are not exposed in the helm chart.

tokers avatar Feb 28 '23 01:02 tokers

Looks like the Control API options are not exposed in the helm chart.

Sure yes, it's confused that there's no any clue in the document.

winglight avatar Feb 28 '23 03:02 winglight

I don't understand what "apisix control service" you refer to.

tao12345666333 avatar Feb 28 '23 03:02 tao12345666333

Dears, I found the way to integrate apisix control service with ingress, hope this can help you guys. You can try the control serivce by following command with my new code

helm upgrade --install apisix . \
--create-namespace --namespace apisix \
--set ingress.enabled=true \
--set ingress.className=nginx \
--set "ingress.hosts[0].host=apisix\.local" \
--set "ingress.hosts[0].paths[0]=\/" \
--set apisix.admin.enabled=true \
--set apisix.admin.ingress.enabled=true \
--set apisix.admin.ingress.className=nginx \
--set control.enabled=true \
--set control.ingress.enabled=true \
--set control.ingress.className=nginx

Image

kzmain avatar Feb 21 '25 19:02 kzmain