kellyseeme commented on issue #12493:
URL: https://github.com/apache/apisix/issues/12493#issuecomment-3173440946

   it's hard 
   
   > [@kellyseeme](https://github.com/kellyseeme) Hi, may I ask if there are 
steps and a minimal environment available for reproduction?
   
   1 create a apisix cluster (etcd cluster 3 point),route just /* to the 
upstream
   2 use the admin api delete upstream nodes
   curl http://127.0.0.1:9180/apisix/admin/upstreams/15218 -H "X-API-KEY: xx" 
-X PUT -d
   '
   {
       "desc": "",
       "name": "sss",
       "pass_host": "pass",
       "nodes": [
           {
               "priority": 0,
               "host": "10.1.84.113",
               "port": 80,
               "weight": 100
           }
       ],
       "type": "roundrobin",
       "scheme": "http",
       "id": "15218",
       "timeout": {
           "send": 180,
           "connect": 180,
           "read": 180
       },
       "hash_on": "vars",
       "keepalive_pool": {
           "idle_timeout": 180,
           "requests": 22,
           "size": 320
       }
   }
   '
   3 use the admin api add upstream nodes
   curl http://127.0.0.1:9180/apisix/admin/upstreams/15218 -H "X-API-KEY: xx" 
-X PUT -d
   '
   {
       "desc": "",
       "name": "sss",
       "pass_host": "pass",
       "nodes": [
           {
               "priority": 0,
               "host": "10.1.71.118",
               "port": 80,
               "weight": 100
           },
           {
               "priority": 0,
               "host": "10.1.73.196",
               "port": 80,
               "weight": 100
           },
           {
               "priority": 0,
               "host": "10.1.84.112",
               "port": 80,
               "weight": 100
           },
           {
               "priority": 0,
               "host": "10.1.84.113",
               "port": 80,
               "weight": 100
           }
       ],
       "type": "roundrobin",
       "scheme": "http",
       "id": "15218",
       "timeout": {
           "send": 180,
           "connect": 180,
           "read": 180
       },
       "hash_on": "vars",
       "keepalive_pool": {
           "idle_timeout": 180,
           "requests": 22,
           "size": 320
       }
   }
   '
   and see the apisix info logs,see the etcd res and use curl look upstream 
nodes


-- 
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-unsubscr...@apisix.apache.org

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

Reply via email to