Skip to content

Commit 2d94bfe

Browse files
authored
Merge pull request #13012 from gnufied/add-scaling-from-zero-csi-driver
📖 Docs: Update proposal for scaling from zero for csi driver
2 parents 218546b + e876fc8 commit 2d94bfe

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/proposals/20210310-opt-in-autoscaling-from-zero.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,23 @@ status:
316316
The cluster autoscaler will prefer the annotation on the MachineDeployment and will predict nodes that have a
317317
`kubernetes.io/arch: amd64` label on them.
318318

319+
**CSI driver attach limits and availability**
320+
321+
When a user would like to signal that the node being created from a MachineSet or MachineDeployment will
322+
have a specific CSI driver installed with any volume attach limits, they can use following
323+
annotations to specify that information.
324+
325+
```
326+
kind: <MachineSet or MachineDeployment>
327+
metadata:
328+
annotations:
329+
capacity.cluster-autoscaler.kubernetes.io/csi-driver: "driver1=attach-limit,driver2=attach-limit"
330+
```
331+
332+
Users can specify `attach-limit` of `0` if they merely want to signal presence of CSI driver and
333+
driver does not have any attach limits.
334+
335+
319336
### Security Model
320337
321338
This feature will require the service account associated with the cluster autoscaler to have

0 commit comments

Comments
 (0)