Skip to content
Docs Try Aspire

ResourceRequirementsV1 Properties

Class Properties 3 members
Represents the resource requirements for a container or a pod in a Kubernetes environment.
Represents a collection of resource claims associated with the resource requirements. Each claim defines specific resource requests or constraints.
public List<ResourceClaimV1> Claims { get; }
Limits Section titled Limits Dictionary<string, string>
Represents the resource limits for a Kubernetes resource. Limits specify the maximum amount of resources (e.g., CPU, memory) that a container can use. The keys represent the resource types, and the corresponding values specify the quantity limit for each resource.
public Dictionary<string, string> Limits { get; }
Requests Section titled Requests Dictionary<string, string>
Gets the resource requests for the container or pod.
public Dictionary<string, string> Requests { get; }
Represents the minimum amount of each resource type that the container or pod requests. The resources are identified by their names as keys in the dictionary, and the corresponding values specify the requested quantity (e.g., CPU or memory).