stricklandye commented on issue #2644:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/2644#issuecomment-3478111307

   Yep. After checking the helm chart in the github repo I also found similar 
solution and hope the community will fix it someday :D . 
   One more question ,according to the doc , create a `ApisixRoute` CRD the 
apisix ingress controller will then create the corresponding route rule  but I 
list all the routes from admin api I got empty list.  why?
   
   ```shell
   # svc and pods
   ➜  ~ k get svc -A         
   NAMESPACE        NAME                                    TYPE        
CLUSTER-IP       EXTERNAL-IP   PORT(S)                  AGE
   default          kubernetes                              ClusterIP   
10.96.0.1        <none>        443/TCP                  6h33m
   default          nginx-svc                               ClusterIP   
10.98.82.24      <none>        80/TCP                   65m
   
   k get pods -A
   NAMESPACE            NAME                                         READY   
STATUS    RESTARTS         AGE
   default              nginx-deployment-5599d6c467-px29j            1/1     
Running   0                65m
   default              nginx-deployment-5599d6c467-xksss            1/1     
Running   0                65m
   
   k get apisixroutes -A
   NAMESPACE   NAME                 HOSTS                          URIS     AGE
   default     nginx-route-backup   ["nginx-backup.example.com"]   ["/*"]   
7m11s
   
   # show all routes
   curl "http://172.16.150.10:9180/apisix/admin/routes"; -X GET -H "X-API-KEY: 
<key>"                                                       
   {"list":[],"total":0}
   ```
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to