Detaching Instances from a Cluster Network with Instance Pools
Remove specific nodes from a cluster network by detaching instances from the cluster network's underlying instance pool. The instances that you detach are no longer managed as part of the cluster network.
If you want to remove instances from the cluster network by deleting instances, you can instead resize the cluster network.
When you detach an instance, you can choose whether to delete or retain the instance. You can also choose whether to replace the detached instance by creating a new instance in the cluster network. If you don't replace the detached instance, then the size of the cluster network decreases.
For information about permissions and prerequisites, see Required IAM Policy and Before You Begin.
Use the instance-pool-instance detach command and required parameters to detach an instance from the underlying instance pool of a cluster network.
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.
To list the instances in a cluster network, use the ListClusterNetworkInstances operation.
To detach instances from a cluster network's underlying instance pool, use the DetachInstancePoolInstance operation.