Interface ResourceRequirements

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    ResourceRequirements.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-03T12:13:25.859Z")
    @Stability(Stable)
    public interface ResourceRequirements
    extends software.amazon.jsii.JsiiSerializable
    ResourceRequirements describes the compute resource requirements.
    • Method Detail

      • getClaims

        @Stability(Stable)
        @Nullable
        default List<ResourceClaim> getClaims()
        Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.

        This is an alpha field and requires enabling the DynamicResourceAllocation feature gate.

        This field is immutable. It can only be set for containers.

      • getLimits

        @Stability(Stable)
        @Nullable
        default Map<String,​Quantity> getLimits()
        Limits describes the maximum amount of compute resources allowed.

        More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

      • getRequests

        @Stability(Stable)
        @Nullable
        default Map<String,​Quantity> getRequests()
        Requests describes the minimum amount of compute resources required.

        If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/