Package org.cdk8s.plus23.k8s
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ResourceRequirements.Builder
A builder forResourceRequirements
static class
ResourceRequirements.Jsii$Proxy
An implementation forResourceRequirements
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ResourceRequirements.Builder
builder()
default Map<String,Quantity>
getLimits()
Limits describes the maximum amount of compute resources allowed.default Map<String,Quantity>
getRequests()
Requests describes the minimum amount of compute resources required.
-
-
-
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/
-
builder
@Stability(Stable) static ResourceRequirements.Builder builder()
- Returns:
- a
ResourceRequirements.Builder
ofResourceRequirements
-
-