remove
dpsctl resource-group remove Usage Guide
Remove resources (entities) from a resource group. Note that you cannot remove resources from an active resource group.
Resources can be removed from both inactive and active resource groups:
- Inactive resource groups: Removing resources is a database-only operation.
- Active resource groups: Policies are reverted to topology defaults and power is reallocated as needed.
Note: Removing resources from a resource group that is currently activating or deactivating will be rejected. Wait for the operation to complete before removing resources.
Usage
dpsctl resource-group removeFlags
Includes global dpsctl options.
--resource-group string resource group name
--entities string resource entity names (comma-separated list)
--help, -h show helpExamples
Basic Usage
$ dpsctl resource-group remove --resource-group example1 --entities node003
{
"status": {
"ok": true,
"diag_msg": "Success"
}
}Remove entities from an active resource group
When removing resources from an active resource group, policies on the removed entities are automatically reverted to the topology defaults and power is reallocated.
$ dpsctl resource-group remove --resource-group ml-training-job --entities node004,node005
{
"status": {
"ok": true,
"diag_msg": "Success"
}
}