storage capacity: v1 API

This commit is contained in:
Patrick Ohly
2022-03-02 07:42:00 +01:00
parent 3a7deaa141
commit 921edae2b4
10 changed files with 129 additions and 14 deletions

View File

@@ -572,9 +572,8 @@ type CSINodeList struct {
//
// The producer of these objects can decide which approach is more suitable.
//
// They are consumed by the kube-scheduler if the CSIStorageCapacity beta feature gate
// is enabled there and a CSI driver opts into capacity-aware scheduling with
// CSIDriver.StorageCapacity.
// They are consumed by the kube-scheduler if a CSI driver opts into
// capacity-aware scheduling with CSIDriverSpec.StorageCapacity.
type CSIStorageCapacity struct {
metav1.TypeMeta
// Standard object's metadata. The name has no particular meaning. It must be