Operate IBM Cloud drives in OCP IBM Cloud
This page describes operations and troubleshooting for Portworx clusters on IBM VPC Gen2 Cloud with cloud drives
Operate
Limit storage nodes
To control the number of storage nodes in the cluster, use the spec.cloudStorage.maxStorageNodesPerZone
or spec.cloudStorage.maxStorageNodes
configuration in your StorageCluster.
The total number of storage nodes in your cluster will be the number of zones multiplied by max_storage_nodes_per_zone
.
Example:
"-s", "sc=ibmc-vpc-block-10iops-tier,size=200", "-max_storage_nodes_per_zone", "1"
For a cluster of 6 nodes spanning 3 zones (us-south-1, us-south-2, and us-south-3), in the above example Portworx will have 3 storage nodes (one in each zone) and 3 storageless nodes. Portworx will create a total 3 data disks, each of size 200, and will attach one disk to each storage node.