Update Resource Group
This operation updates the configuration of the specified resource group.
The base URL for this API is in the following format:
http://localhost:19530
export CLUSTER_ENDPOINT="http://localhost:19530"
The authentication token should be a pair of colon-joined username and password, like username:password
.
The configurations of the resource group to update. You can include multiple resource groups in the request body with the name of each resource group as the key and its configuration as the value.
The updated configuration of the resource group specified by the key.
The number of query nodes to allocate to the resource group.
The number of query nodes to allocate to the resource group.
The maximum number of query nodes to allocate to the resource group.
The maximum number of query nodes to allocate to the resource group.
The list of source resource groups to transfer query nodes from.
A source resource group to transfer query nodes from.
The name of the source resource group to transfer query nodes from.
The list of target resource groups to transfer query nodes to.
A target resource group to transfer query nodes to.
The name of the target resource group to transfer query nodes to.
export TOKEN="root:Milvus"
curl --request POST \--url "${CLUSTER_ENDPOINT}/v2/vectordb/resource_groups/alter" \--header "Authorization: Bearer ${TOKEN}" \--header "Content-Type: application/json" \-d '{ "resource_groups": { "group1": { "requests": { "node_num": 1 }, "limits": { "node_num": 10000 }, "transfer_from": [ { "resource_group": "default" } ], "transfer_to": [ { "resource_group": "default" } ] } }}'
A success response
Response code.
Response payload which is an empty object.
Returns an error message.
Response code.
Error message.
{ "code": 0, "data": {}}