Modifying a node group in an existing instance

Follow the instructions to reconfigure an existing node group.

You can reconfigure an existing node group to change its autoscaling range, you can use the following command:

$ cdp ml modify-ml-serving-app --app-crn [***APPLICATION-CRN***] --instance-group-name [***GROUP-NAME***] --min [***MINIMUM-NODE***] --max [***MAXIMUM-NODE***] --instance-type [***INSTANCE-TYPE***]

Consider the following example:

$ cdp ml modify-ml-serving-app --app-crn <your-application-crn> --instance-group-name mlgpu1 --min 2 --max 4 --instance-type g5.24xlarge

The instance group name can be obtained using the describe-ml-serving-app command.