Donghui0 edited a comment on issue #663:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/663#issuecomment-918127808


   @riskgod It should be the format of Upstream.nodes is wrong.
   Wrong format:
   {"1.1.1.1:8080": 1, "2.2.2.2:8080": 1}
   Correct format:
   [{"host": "1.1.1.1", "port": 8080, "weight": 100, "priority": 0}]
   
   Use the following command to query:
   `curl http://apisix-admin:9180/apisix/admin/upstreams -H "X-API-KEY: 
secretKey"  | python -m json.tool
   `


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