Package org.cdk8s.plus24
Interface PodSchedulingColocateOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PodSchedulingColocateOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.75.0 (build 63bb957)", date="2023-02-21T02:37:35.304Z") @Stability(Stable) public interface PodSchedulingColocateOptions extends software.amazon.jsii.JsiiSerializable
Options for `PodScheduling.colocate`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PodSchedulingColocateOptions.Builder
A builder forPodSchedulingColocateOptions
static class
PodSchedulingColocateOptions.Jsii$Proxy
An implementation forPodSchedulingColocateOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PodSchedulingColocateOptions.Builder
builder()
default Topology
getTopology()
Which topology to coloate on.default Number
getWeight()
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()
-
-