cataglyphis commented on issue #2362:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/2362#issuecomment-2826849371

   How to defined upstream likes below with CRD?
   
   ----
   curl http://127.0.0.1:9180/apisix/admin/routes/1 \
   -H "X-API-KEY: $admin_key" -X PUT -d '
   {
       "uri": "/hash_on_cookie",
       "upstream": {
           "key": "sid",
           "type": "chash",
           "hash_on": "cookie",
           "nodes": {
               "127.0.0.1:1980": 1,
               "127.0.0.1:1981": 1
           }
       }
   }'


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