Resizing a Cluster Network with Instance Pools
Change the number of instances in a cluster network by resizing the underlying instance pool.
When you increase the size, instances are provisioned until the required number of instances in the instance pool are launched, subject to host capacity for nodes in the cluster's RDMA network.
When you decrease the size, instances are terminated (deleted) in the order that they were created, first-in, first-out. If you want to remove a specific instance from the cluster network, you can instead detach the instance from the cluster network.
To determine whether capacity is available for a specific shape before you resize a cluster network, use the CreateComputeCapacityReport operation.
For information about permissions and prerequisites, see Required IAM Policy and Before You Begin.
The cluster network must be in the Running state to be resized.
To resize a cluster network, you can use the instance-pool update command to resize the underlying instance pool to increase or decrease the size of the instance pool.
oci compute-management instance-pool update --instance-pool-id <INSTANCE_POOL_OCID> --size <NUMBER>
oci compute-management instance-pool-instance attach [OPTIONS]
oci compute-management instance-pool-instance detach [OPTIONS]
For a complete list of flags and variable options for cluster network CLI commands, see the command line reference for compute management tasks.
Use the UpdateClusterNetwork operation to resize a cluster network with instance pools.