Scale Limits for KDS Dynamic Pools
This topic explains the scale limits for Kube Datastore (KDS) and dynamic pools, and how to reserve capacity for node failures and pool failover. For the limitations of KDS and dynamic pools, see Limitations of KDS and Dynamic Pools.
Scale limits
Portworx Enterprise applies scale limits for dynamic pools at the cluster, node, pool, and volume levels. Consider these limits when planning storage capacity and pool failover.
This topic uses the following terms:
- Default: The value Portworx uses when you do not configure a setting. For example, the default value of
limit_pools_countis8. - Recommended limit: The level to stay at during normal operation so that capacity remains available for pool failover.
- Hard limit: The maximum that Portworx supports. Do not exceed it.
| Scope | Recommended limit | Hard limit |
|---|---|---|
| Cluster | 5,000 attached volumes | N/A |
| Node | 700 attached volumes | 1,024 attached volumes |
| Node | 12 storage pools | 16 storage pools |
| Pool | 450 volumes and snapshots combined, including up to 150 regular volumes (attached, detached, and clones) and up to 300 snapshots | 1,024 volumes |
| Volume | 2 snapshots per regular volume | 64 snapshots per volume |
If you plan to provision more than 5,000 volumes in a cluster, additional CSI attacher configuration is required. For more information, see CSI attacher parameters.
Pool sizing limits
The following table lists the supported limits for dynamic pool size, drives per pool, and pools per node, including the recommended pool count to maintain capacity for failover.
| Setting | Value | Description |
|---|---|---|
| Drives per pool | 1 | Dynamic pools require exactly one FlashArray Cloud Drive (FACD) per pool. |
| Recommended pools per node | 12 | Keep each node at no more than 12 pools during normal operation to reserve capacity for pool failover. |
| Maximum pools per node (hard limit) | 16 | Portworx does not support more than 16 storage pools per node. Configure the pool count limit by using limit_pools_count. For more information, see limit_pools_count. |
Reserve capacity for node failures
When a node fails, Portworx must have enough capacity on the surviving nodes to accommodate its pools and volumes.
The recommended limit of 700 attached volumes per node is lower than the hard limit of 1,024 to provide capacity for volumes relocated from failed nodes.
Smaller clusters need proportionally more available capacity because each node represents a larger share of the cluster.
For example, consider a three-node cluster with 700 attached volumes per node. If one node fails, the two surviving nodes must accommodate its 700 volumes. Assuming an even distribution, each surviving node would need to support 1,050 attached volumes, exceeding the hard limit of 1,024.
To survive one node failure, a three-node cluster can therefore support a maximum of 682 attached volumes per node, assuming volumes are evenly distributed.
Use the following formulas to calculate the maximum number of attached volumes and pools per node:
Attached volumes per node = min(700, 1024 × (N - f) / N)
Pools per node = min(12, 16 × (N - f) / N)
Where:
Nis the total number of nodes in the cluster. Portworx moves pools only to nodes in the same zone as the failed node, so for failover planning, use the number of nodes in the failed node's zone. In a cluster without zones, use the total number of nodes.fis the number of simultaneous node failures the cluster must tolerate.
Round the calculated values down to the nearest whole number.
The recommended limit of 700 attached volumes per node applies from:
- Four nodes when planning for one node failure.
- Seven nodes when planning for two node failures.
- Ten nodes when planning for three node failures.
For additional headroom, plan to use approximately 90% of the calculated limits. For example, a three-node cluster designed to survive one node failure should target approximately 614 attached volumes per node.
When configuring limit_pools_count, reserve enough pool slots on the surviving nodes to accommodate the pools from at least one failed node. Do not configure every node to operate at its maximum pool count.
For example, consider a six-node cluster with eight pools per node. If one node fails, its eight pools must move to the five surviving nodes. Assuming the pools can be distributed evenly, each surviving node must be able to accept up to two additional pools. Set limit_pools_count to at least 10 to provide this capacity. As a general guideline, Portworx recommends reserving four additional pool slots on each node, which is 12 in this example.
Plan capacity by cluster size
The following table shows the calculated maximum number of attached volumes and pools per node for common cluster sizes, based on the number of node failures the cluster must tolerate.
| Nodes | Attached volumes per node (1 failure) | Pools per node (1 failure) | Attached volumes per node (2 failures) | Pools per node (2 failures) |
|---|---|---|---|---|
| 3 | 682 | 10 | 341 | 5 |
| 4 | 700 | 12 | 512 | 8 |
| 5 | 700 | 12 | 614 | 9 |
| 6 | 700 | 12 | 682 | 10 |
| 7 | 700 | 12 | 700 | 11 |
| 8 | 700 | 12 | 700 | 12 |
- The cluster-wide limit of 5,000 attached volumes applies regardless of the number of nodes. If you plan to provision more than 5,000 volumes in a cluster, additional CSI attacher configuration is required. For more information, see CSI attacher parameters.
- These calculations assume an even distribution of volumes and pools. Actual failover also depends on eligible destination nodes, placement requirements, and available pool slots.
Concurrent failover limits
Portworx limits the number of node and pool failovers that can occur simultaneously.
| Scope | Limit |
|---|---|
| Concurrent node failovers | 5 nodes |
| Concurrent pool failovers | 16 pools |
These limits define the maximum number of failover operations that Portworx can process concurrently. They do not guarantee that all pools can be relocated.
Successful failover also requires eligible destination nodes with enough available pool slots and volume attachment capacity.
Exceeding the validated limits can increase pool failover time and affect workload I/O. On Windows VMs, storage delays can also cause storage-related operating system events.