Skip to content

Commit 8115cbc

Browse files
committed
storage capacity: elaborate on next steps for autoscaler
1 parent dd9ec66 commit 8115cbc

File tree

1 file changed

+10
-1
lines changed
  • keps/sig-storage/1472-storage-capacity-tracking

1 file changed

+10
-1
lines changed

keps/sig-storage/1472-storage-capacity-tracking/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1259,13 +1259,22 @@ CSIStorageCapacity API for node-local storage as follows:
12591259
A proof-of-concept of this approach is available in
12601260
https://github.com/kubernetes/autoscaler/pull/3887 and has been used
12611261
successfully to scale an Azure cluster up and down with csi-driver-host-path as
1262-
CSI driver.
1262+
CSI driver. Because of the lack of storage capacity modeling, scale up happens
1263+
slowly. To address that, the scheduler would have to take volumes that are in
1264+
the process of being provisioned into account when deciding about other
1265+
suitable nodes. This might not be the right decision for all CSI drivers, so
1266+
further exploration and potentially an extension of the CSI API ("total
1267+
capacity") will be needed.
12631268

12641269
The approach above preserves the separation between the different
12651270
components. Simpler solutions may be possible by adding support for specific
12661271
CSI drivers into custom autoscaler binaries or into operators that control the
12671272
cluster setup.
12681273

1274+
Alternatively, additional information provided by the CSI driver might make it
1275+
possible to simplify the cluster configuration, for example by providing
1276+
machine-readable instructions for how labels should be changed.
1277+
12691278
Network attached storage doesn't need renaming of labels when cloning an
12701279
existing Node. The information published for that Node is also valid for the
12711280
fictional one. Scale up from zero however is problematic: the CSI specification

0 commit comments

Comments
 (0)