superwjc edited a comment on issue #676:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/676#issuecomment-917396500


   > Hi, @superwjc, `Ingress` and `dashboard` are independent projects and 
managed independently. They have had no relationship with each other. 
Therefore, Ingress will not actively introduce requests to the dashboard.
   > 
   > Please show the route in APISIX by requesting 
`http://APISIX.svc:9180/apisix/admin/routes`. If you think that the request is 
sent to the wrong upstream, first check whether the configuration of routes in 
APISIX is correct.
   
   @gxthrj
   thanks, and sorry for my ugly format.
   
   **curl -fsSL 10.100.2.176:9180/apisix/admin/upstreams -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' | jq**
   ```
   {
     "node": {
       "dir": true,
       "key": "/apisix/upstreams",
       "nodes": [
         {
           "modifiedIndex": 13,
           "value": {
             "name": "default_httpbin_80",
             "update_time": 1631356750,
             "id": "5ce57b8e",
             "create_time": 1631356750,
             "hash_on": "vars",
             "type": "roundrobin",
             "pass_host": "pass",
             "desc": "Created by apisix-ingress-controller, DO NOT modify it 
manually",
             "labels": {
               "managed-by": "apisix-ingress-controller"
             },
             "scheme": "http",
             "nodes": [
               {
                 "port": 80,
                 "host": "10.244.196.4",
                 "weight": 100,
                 "priority": 0
               }
             ]
           },
           "createdIndex": 13,
           "key": "/apisix/upstreams/5ce57b8e"
         }
       ]
     },
     "count": 1,
     "action": "get"
   }
   ```
   
   **curl -fsSL 10.100.2.176:9180/apisix/admin/routes -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' | jq**
   ```
   {
     "node": {
       "dir": true,
       "key": "/apisix/routes",
       "nodes": [
         {
           "modifiedIndex": 15,
           "value": {
             "uris": [
               "/httpbin/*"
             ],
             "name": "default_httpserver-route_rule1",
             "hosts": [
               "local.httpbin.org"
             ],
             "update_time": 1631357738,
             "desc": "Created by apisix-ingress-controller, DO NOT modify it 
manually",
             "create_time": 1631356750,
             "priority": 0,
             "id": "add8e28c",
             "labels": {
               "managed-by": "apisix-ingress-controller"
             },
             "upstream_id": "5ce57b8e",
             "status": 1
           },
           "createdIndex": 14,
           "key": "/apisix/routes/add8e28c"
         }
       ]
     },
     "count": 1,
     "action": "get"
   }
   ```


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