kong 3.4x api 说明 kong 3.4x api 说明
kong 3.4 kong 3.4
修改target的weight
curl --request PATCH \
--url http://192.168.100.112:8001/upstreams/testcomment-cn/targets/testcomment-cn.cn6.svc.cluster.local%3A80 \
--header 'Content-Type: application/json' \
--header 'accept: application/json' \
--data '{"weight":40,"tags":["string"]}'