yujiapingyu commented on issue #10455:
URL: https://github.com/apache/apisix/issues/10455#issuecomment-1797824107

   https://apisix.apache.org/zh/docs/apisix/admin-api/#upstream
   
![image](https://github.com/apache/apisix/assets/17950204/5c1e8e12-b972-419f-af20-de8d2bee25bf)
   Excerpted from official documentation,port is optional!
   
   And when I set nodes as hashmap, like this:
   ```
   {
     "nodes": {
        "ops-kuber.newlink.com": 1
      },
     "retries": 0,
     "timeout": {
       "connect": 6,
       "send": 6,
       "read": 6
     },
     "type": "roundrobin",
     "scheme": "https",
     "pass_host": "node",
     "name": "认证服务",
     "desc": "认证服务",
     "keepalive_pool": {
       "idle_timeout": 60,
       "requests": 1000,
       "size": 320
     }
   }
   ```
   It becomes valid.


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