You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when set to `true`, the Kubernetes scheduler will consider storage
44
49
capacity for volumes that use the CSI driver.
45
50
46
51
## Scheduling
47
52
48
53
Storage capacity information is used by the Kubernetes scheduler if:
49
-
- the `CSIStorageCapacity` feature gate is true,
50
54
- a Pod uses a volume that has not been created yet,
51
55
- that volume uses a {{< glossary_tooltip text="StorageClass" term_id="storage-class" >}} which references a CSI driver and
52
56
uses `WaitForFirstConsumer`[volume binding
@@ -97,20 +101,9 @@ multiple volumes: one volume might have been created already in a
97
101
topology segment which then does not have enough capacity left for
98
102
another volume. Manual intervention is necessary to recover from this,
99
103
for example by increasing capacity or deleting the volume that was
100
-
already created. [Further
101
-
work](https://github.com/kubernetes/enhancements/pull/1703) is needed
102
-
to handle this automatically.
103
-
104
-
## Enabling storage capacity tracking
105
-
106
-
Storage capacity tracking is a beta feature and enabled by default in
107
-
a Kubernetes cluster since Kubernetes 1.21. In addition to having the
108
-
feature enabled in the cluster, a CSI driver also has to support
109
-
it. Please refer to the driver's documentation for details.
104
+
already created.
110
105
111
106
## {{% heading "whatsnext" %}}
112
107
113
108
- For more information on the design, see the
114
109
[Storage Capacity Constraints for Pod Scheduling KEP](https://github.com/kubernetes/enhancements/blob/master/keps/sig-storage/1472-storage-capacity-tracking/README.md).
115
-
- For more information on further development of this feature, see the [enhancement tracking issue #1472](https://github.com/kubernetes/enhancements/issues/1472).
116
-
- Learn about [Kubernetes Scheduler](/docs/concepts/scheduling-eviction/kube-scheduler/)
0 commit comments