Interface ResourceRequirements

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

    @Generated(value="jsii-pacmak/1.69.0 (build f656c31)",
               date="2022-10-15T03:08:35.650Z")
    @Stability(Stable)
    public interface ResourceRequirements
    extends software.amazon.jsii.JsiiSerializable
    ResourceRequirements describes the compute resource requirements.
    • Method Detail

      • 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. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/