You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "winglight (via GitHub)" <gi...@apache.org> on 2023/02/20 02:57:29 UTC

[GitHub] [apisix-helm-chart] winglight opened a new issue, #474: bug: apisix control service is not installed on k8s by helm chart

winglight opened a new issue, #474:
URL: https://github.com/apache/apisix-helm-chart/issues/474

   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):


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-helm-chart] tao12345666333 commented on issue #474: bug: apisix control service is not installed on k8s by helm chart

Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 commented on issue #474:
URL: https://github.com/apache/apisix-helm-chart/issues/474#issuecomment-1447516130

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-helm-chart] winglight commented on issue #474: bug: apisix control service is not installed on k8s by helm chart

Posted by "winglight (via GitHub)" <gi...@apache.org>.
winglight commented on issue #474:
URL: https://github.com/apache/apisix-helm-chart/issues/474#issuecomment-1447503916

   > 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-helm-chart] tokers commented on issue #474: bug: apisix control service is not installed on k8s by helm chart

Posted by "tokers (via GitHub)" <gi...@apache.org>.
tokers commented on issue #474:
URL: https://github.com/apache/apisix-helm-chart/issues/474#issuecomment-1447427862

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-helm-chart] coffeebe4code commented on issue #474: bug: apisix control service is not installed on k8s by helm chart

Posted by "coffeebe4code (via GitHub)" <gi...@apache.org>.
coffeebe4code commented on issue #474:
URL: https://github.com/apache/apisix-helm-chart/issues/474#issuecomment-1446568035

   Hello,
   
   I just went through an install of the apisix helm chart. And didn't have any issues with this. The admin api will be exposed through the service on port 9091. The pods have their own ip and port. Would you mind sharing more information. For example here are my values substituted with helm template --debug.
   
   ```
   apiVersion: v1
   kind: Service
   metadata:
     name: apisix-admin
     namespace: default
     annotations:
     labels:
       helm.sh/chart: apisix-1.1.0
       app.kubernetes.io/name: apisix
       app.kubernetes.io/instance: apisix
       app.kubernetes.io/version: "3.1.0"
       app.kubernetes.io/managed-by: Helm
       app.kubernetes.io/service: apisix-admin
   spec:
     type: ClusterIP
     ports:
     - name: apisix-admin
       port: 9180
       targetPort: 9180
       protocol: TCP
     selector:
       app.kubernetes.io/name: apisix
       app.kubernetes.io/instance: apisix
   ---
   ```
   
   You can run some kubectl commands to see if you have a service as well. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: apisix control service is not installed on k8s by helm chart [apisix-helm-chart]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #474:
URL: https://github.com/apache/apisix-helm-chart/issues/474#issuecomment-4205053525

   The current chart supports the Control API service configuration (`control.enabled: true`, port 9090) with a dedicated `service-control.yaml` template.
   
   Closing as the feature is available. If you still encounter issues with this, please feel free to reopen.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: apisix control service is not installed on k8s by helm chart [apisix-helm-chart]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop closed issue #474: bug: apisix control service is not installed on k8s by helm chart
URL: https://github.com/apache/apisix-helm-chart/issues/474


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: apisix control service is not installed on k8s by helm chart [apisix-helm-chart]

Posted by "kzmain (via GitHub)" <gi...@apache.org>.
kzmain commented on issue #474:
URL: https://github.com/apache/apisix-helm-chart/issues/474#issuecomment-2675422175

   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](https://github.com/apache/apisix-helm-chart/compare/master...kzmain:apisix-helm-chart:patch-1)
   
   
   ```
   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](https://github.com/user-attachments/assets/c06906e2-7c3f-4320-923e-ec0722a37d32)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org