Package org.cdk8s.plus25
Interface PodSchedulingColocateOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PodSchedulingColocateOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.398Z") @Stability(Stable) public interface PodSchedulingColocateOptions extends software.amazon.jsii.JsiiSerializable
Options forPodScheduling.colocate.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPodSchedulingColocateOptions.BuilderA builder forPodSchedulingColocateOptionsstatic classPodSchedulingColocateOptions.Jsii$ProxyAn implementation forPodSchedulingColocateOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PodSchedulingColocateOptions.Builderbuilder()default TopologygetTopology()Which topology to coloate on.default NumbergetWeight()Indicates the co-location is optional (soft), with this weight score.
-
-
-
Method Detail
-
getTopology
@Stability(Stable) @Nullable default Topology getTopology()
Which topology to coloate on.Default: - Topology.HOSTNAME
-
getWeight
@Stability(Stable) @Nullable default Number getWeight()
Indicates the co-location is optional (soft), with this weight score.Default: - no weight. co-location is assumed to be required (hard).
-
builder
@Stability(Stable) static PodSchedulingColocateOptions.Builder builder()
-
-