VolumeResourceRequirementsV1
Class sealed net10.0
Represents the resource requirements for a Kubernetes volume.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class VolumeResourceRequirementsV1{ // ...}Remarks
Section titled 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.
Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesLimitsgetDictionary<string, string> 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.
RequestsgetDictionary<string, string> 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.