Packages

package v1alpha1

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class CSIStorageCapacity(capacity: Optional[Quantity] = Optional.Absent, maximumVolumeSize: Optional[Quantity] = Optional.Absent, metadata: Optional[ObjectMeta] = Optional.Absent, nodeTopology: Optional[LabelSelector] = Optional.Absent, storageClassName: String) extends Product with Serializable

    CSIStorageCapacity stores the result of one CSI GetCapacity call.

    CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.

    For example this can express things like: - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1" - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123"

    The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero

    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.

    storageClassName

    The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.

  2. class CSIStorageCapacityFields extends AnyRef

Value Members

  1. object CSIStorageCapacity extends CSIStorageCapacityFields with Serializable

Ungrouped