You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/10/09 14:50:14 UTC

[GitHub] [apisix-helm-chart] 8thblock opened a new issue #153: No joy on docker desktop

8thblock opened a new issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153


   Evaluating APISIX to replace our NGINX ingress and it does not seem to work on Kubernetes cluster that comes as a default with Docker Desktop
   
   Here are the details:
   OS: mac OS
   Env: k8s that comes with docker desktop
   Installed by: 
   `cd /path/to/apisix-helm-chart
   helm repo add bitnami https://charts.bitnami.com/bitnami
   helm repo update
   kubectl create ns ingress-apisix
   helm install apisix charts/apisix \
     --set gateway.type=NodePort \
     --set ingress-controller.enabled=true \
     --namespace ingress-apisix
   kubectl get service --namespace ingress-apisix`
   
   Everything installed ok:
   `NAME                                            READY   STATUS    RESTARTS   AGE
   pod/apisix-56c976fc-jrf6l                       1/1     Running   0          49m
   pod/apisix-etcd-0                               1/1     Running   0          49m
   pod/apisix-etcd-1                               1/1     Running   0          49m
   pod/apisix-etcd-2                               1/1     Running   0          49m
   pod/apisix-ingress-controller-b5f5d49db-6fp7n   1/1     Running   0          49m
   pod/httpbin                                     1/1     Running   0          33m
   
   NAME                                TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)             AGE
   service/apisix-admin                ClusterIP   10.104.186.82   <none>        9180/TCP            49m
   service/apisix-etcd                 ClusterIP   10.101.172.59   <none>        2379/TCP,2380/TCP   49m
   service/apisix-etcd-headless        ClusterIP   None            <none>        2379/TCP,2380/TCP   49m
   service/apisix-gateway              NodePort    10.106.23.81    <none>        80:31205/TCP        49m
   service/apisix-ingress-controller   ClusterIP   10.110.119.97   <none>        80/TCP              49m
   service/httpbin                     ClusterIP   10.96.245.203   <none>        80/TCP              33m
   
   NAME                                        READY   UP-TO-DATE   AVAILABLE   AGE
   deployment.apps/apisix                      1/1     1            1           49m
   deployment.apps/apisix-ingress-controller   1/1     1            1           49m
   
   NAME                                                  DESIRED   CURRENT   READY   AGE
   replicaset.apps/apisix-56c976fc                       1         1         1       49m
   replicaset.apps/apisix-ingress-controller-b5f5d49db   1         1         1       49m
   
   NAME                           READY   AGE
   statefulset.apps/apisix-etcd   3/3     49m`
   
   However: No  routes are registering if I try and upon close inspection I noticed there are plenty of errors in the ingress controller. See attached logs. Is there anything that I am missing? Just followed your docs and got the latest helm
   
   [errors.log](https://github.com/apache/apisix-helm-chart/files/7315850/errors.log)
   
   
   


-- 
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] tao12345666333 commented on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939359600


   Can you please run `kubectl get ar -A` ?


-- 
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] 8thblock edited a comment on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock edited a comment on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939480364


   Seems to have solved the issue. Let me quickly try the route


-- 
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 #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939454717


   @8thblock If you want to use online helm repo to install Apache APISIX & the Ingress Controller, you should use the correct repo address, i.e. https://charts.apiseven.com.
   
   As for the running issue, I checked out the error.log and there are some logs just like:
   
   ```
   2021-10-09T21:59:51+08:00	error	apisix/route.go:117	failed to list routes: Get http://apisix-admin:9180/apisix/admin/routes: dial tcp 10.104.186.82:9180: connect: connection refused
   ```
   
   Could you try to access the `apisix-admin:9180` manually, and paste the result here?


-- 
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] 8thblock edited a comment on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock edited a comment on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-948517551


   > apache/apisix-ingress-controller#660
   
   Any plans to synch this soon in Helm chart?
   
   Or should the below do the trick?
   ```
   helm install apisix apisix/apisix \
     --set gateway.type=LoadBalancer \
     --set ingress-controller.enabled=true \
     --set ingress-controller.image.tag=1.3.0 \
     --namespace ingress-apisix
   ```


-- 
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] 8thblock edited a comment on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock edited a comment on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939461519


   @tokers  Thank you. I will try the repo you have mentioned. I was just following the docs that say clone and point to the repo
   
   Here are the results. 
   ```
   kubectl exec -it -n ingress-apisix pod/apisix-56c976fc-4vg4q -- curl http://apisix-admin:9180/apisix/admin/routes -H 'X-API-Key: edd1c9f034335f136f87ad84b625c8f1'
   
   {"count":0,"action":"get","node":{"nodes":{},"key":"\/apisix\/routes","dir":true}}
   ```
   Also tried a fresh container in the same ns as APISIX
   ```
   kubectl run curl-dm -n ingress-apisix --image=radial/busyboxplus:curl -i --tty --rm
   
   [ root@curl-dm:/ ]$  curl http://apisix-admin:9180/apisix/admin/routes -H 'X-API-Key: edd1c9f034335f136f87ad84b625c8f1'
   
   {"count":0,"action":"get","node":{"nodes":{},"key":"\/apisix\/routes","dir":true}}
   ```
   Connection refused is in the beginning of the logs. It is the entries that follow that are odd:
   ```
   Get http://apisix-admin:9180/apisix/admin/routes: context canceled
   ```


-- 
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] 8thblock commented on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock commented on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939461519


   @tokers  Thank you. I will try the repo you have mentioned. I was just following the docs that say clone and point to the repo
   
   Here are the results. 
   ```
   kubectl exec -it -n ingress-apisix pod/apisix-56c976fc-4vg4q -- curl http://apisix-admin:9180/apisix/admin/routes -H 'X-API-Key: edd1c9f034335f136f87ad84b625c8f1'
   
   {"count":0,"action":"get","node":{"nodes":{},"key":"\/apisix\/routes","dir":true}}
   ```
   Also tried a fresh container in the same ns APISIX
   ```
   kubectl run curl-dm -n ingress-apisix --image=radial/busyboxplus:curl -i --tty --rm
   [ root@curl-dm:/ ]$  curl http://apisix-admin:9180/apisix/admin/routes -H 'X-API-Key: edd1c9f034335f136f87ad84b625c8f1'
   {"count":0,"action":"get","node":{"nodes":{},"key":"\/apisix\/routes","dir":true}}
   ```
   Connection refused is in the beginning of the logs. It is the entries that follow that are odd:
   ```
   Get http://apisix-admin:9180/apisix/admin/routes: context canceled
   ```


-- 
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] 8thblock commented on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock commented on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939481298


   Can confirm it is all working now! Thank you for your help


-- 
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] 8thblock commented on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock commented on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939480364


   Seems to have solved the issue. Let me quickly try the router


-- 
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] tao12345666333 commented on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939479864


   It may be because the modification of this PR has not been synchronized to the Helm chart.
   
   ref: https://github.com/apache/apisix-ingress-controller/pull/660


-- 
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] 8thblock commented on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock commented on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-948517551


   > apache/apisix-ingress-controller#660
   
   Any plans to synch this soon in 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] 8thblock edited a comment on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock edited a comment on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939363095


   Local Server Version: v1.19.7. Let me reinstall and give you a list of routes
   
   Digital Ocean version was v.1.21.3


-- 
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] tao12345666333 commented on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939481686


   Next week apisix-ingress v1.3 will be released, and the Helm chart will be updated at that time.
   Thanks for your quick confirmation.


-- 
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] 8thblock edited a comment on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock edited a comment on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939363095


   Server Version: v1.19.7. Let me reinstall and give you a list of routes
   


-- 
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] 8thblock commented on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock commented on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939363095


   Server Version: v1.19.7


-- 
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] 8thblock commented on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock commented on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939478960


   Also tried a fresh docker desktop install and fresh k8s on it with the version v1.21.5. Same errors was expected though since Digital Ocean test cluster showed same issues. Just letting you know 


-- 
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] 8thblock commented on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock commented on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939326675


   Alas exact same issue in the k8s cluster on Digital Ocean ...


-- 
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] 8thblock edited a comment on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock edited a comment on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-948517551


   Confirmed the new helm chart. All working good


-- 
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] 8thblock closed issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock closed issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153


   


-- 
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] 8thblock edited a comment on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock edited a comment on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939461519


   @tokers  Thank you. I will try the repo you have mentioned. I was just following the docs that say clone and point to the repo
   
   Here are the results. 
   ```
   kubectl exec -it -n ingress-apisix pod/apisix-56c976fc-4vg4q -- curl http://apisix-admin:9180/apisix/admin/routes -H 'X-API-Key: edd1c9f034335f136f87ad84b625c8f1'
   
   {"count":0,"action":"get","node":{"nodes":{},"key":"\/apisix\/routes","dir":true}}
   ```
   Also tried a fresh container in the same ns as APISIX
   ```
   kubectl run curl-dm -n ingress-apisix --image=radial/busyboxplus:curl -i --tty --rm
   [ root@curl-dm:/ ]$  curl http://apisix-admin:9180/apisix/admin/routes -H 'X-API-Key: edd1c9f034335f136f87ad84b625c8f1'
   {"count":0,"action":"get","node":{"nodes":{},"key":"\/apisix\/routes","dir":true}}
   ```
   Connection refused is in the beginning of the logs. It is the entries that follow that are odd:
   ```
   Get http://apisix-admin:9180/apisix/admin/routes: context canceled
   ```


-- 
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] 8thblock commented on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock commented on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939364013


   Here are all the ARs
   ```
   dms-16-mbp:apisix-helm-chart DM$ kubectl get ar -A
   Warning: apisix.apache.org/v1 ApisixRoute is deprecated
   NAMESPACE   NAME               HOSTS                   URIS     AGE
   default     httpserver-route   ["local.httpbin.org"]   ["/*"]   17s
   dms-16-mbp:apisix-helm-chart DM$ 
   ```


-- 
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] tao12345666333 commented on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939360006


   And what's your k8s version? For kubernetes v1.22+ it using CRD v1 apiversion. We have completed the adaptation and will release it in the v1.3 version of apisix-ingress. This version will be released next week.


-- 
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] tao12345666333 commented on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939479533


   can you try to delete apisix-ingress pod?


-- 
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] 8thblock removed a comment on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock removed a comment on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939363230


   Let me reinstall and give you a list of routes


-- 
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] 8thblock commented on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock commented on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939363230


   Let me reinstall and give you a list of routes


-- 
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] 8thblock edited a comment on issue #153: No joy on docker desktop or Digital Ocean k8s

Posted by GitBox <gi...@apache.org>.
8thblock edited a comment on issue #153:
URL: https://github.com/apache/apisix-helm-chart/issues/153#issuecomment-939481298


   Can confirm it is all working now! Thank you for your help. I know what I am going to do with the rest of my Thanksgiving weekend :-)


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