Share via


VolumeResourceRequirementsV1 Class

Definition

Represents the resource requirements for a Kubernetes volume.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class VolumeResourceRequirementsV1
[<YamlDotNet.Serialization.YamlSerializable>]
type VolumeResourceRequirementsV1 = class
Public NotInheritable Class VolumeResourceRequirementsV1
Inheritance
VolumeResourceRequirementsV1
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Remarks

This class defines the limits and requests for the resources associated with a volume in Kubernetes. It is primarily used to specify the amount of resources (e.g., storage) requested or capped for a volume.

Constructors

VolumeResourceRequirementsV1()

Properties

Limits

Represents the upper bound or maximum resource usage constraints for a volume in a Kubernetes environment. This property specifies the resource limits, such as storage capacity or other volume-specific constraints, that a volume cannot exceed during its lifecycle.

Requests

Represents the minimum amount of compute resources required for a volume in a Kubernetes environment. Specifies the resource requests for the volume, such as storage capacity or other resource types. Used to define guaranteed resource allocation for the volume.

Applies to