Kubernetes v1.33: Storage Capacity Scoring of Nodes for Dynamic Provisioning (alpha)
Kubernetes v1.33 introduces StorageCapacityScoring, an alpha feature for topology-aware volume provisioning. This feature enables pod scheduling based on node storage capacity, prioritizing nodes with the most or least available space. Previously, only filtering nodes with insufficient capacity was possible, requiring scheduler extenders for capacity-based scheduling. StorageCapacityScoring benefits node-local PV provisioning by assigning PVs to nodes with ample space for future expansion. It also facilitates cost reduction in cloud environments by maximizing resource utilization and filling nodes sequentially. To enable this feature, set StorageCapacityScoring=true in the kube-scheduler's feature gates. The VolumeBinding plugin's shape parameter configures node priorities based on storage utilization. By default, nodes with higher available capacity are prioritized, but this can be inverted. This new feature replaces the deprecated VolumeCapacityPriority alpha feature, which prioritized nodes with lower available capacity during static provisioning. The documentation provides further details and configuration examples. Refer to KEP-4049 for in-depth information.
StorageCapacityScoring=truein the kube-scheduler's feature gates. TheVolumeBindingplugin'sshapeparameter configures node priorities based on storage utilization. By default, nodes with higher available capacity are prioritized, but this can be inverted. This new feature replaces the deprecatedVolumeCapacityPriorityalpha feature, which prioritized nodes with lower available capacity during static provisioning. The documentation provides further details and configuration examples. Refer to KEP-4049 for in-depth information.