Package org.cdk8s.plus28.k8s
Interface PodSchedulingContextSpecV1Alpha2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PodSchedulingContextSpecV1Alpha2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-03T12:13:25.843Z") @Stability(Stable) public interface PodSchedulingContextSpecV1Alpha2 extends software.amazon.jsii.JsiiSerializable
PodSchedulingContextSpec describes where resources for the Pod are needed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPodSchedulingContextSpecV1Alpha2.BuilderA builder forPodSchedulingContextSpecV1Alpha2static classPodSchedulingContextSpecV1Alpha2.Jsii$ProxyAn implementation forPodSchedulingContextSpecV1Alpha2
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PodSchedulingContextSpecV1Alpha2.Builderbuilder()default List<String>getPotentialNodes()PotentialNodes lists nodes where the Pod might be able to run.default StringgetSelectedNode()SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use "WaitForFirstConsumer" allocation is to be attempted.
-
-
-
Method Detail
-
getPotentialNodes
@Stability(Stable) @Nullable default List<String> getPotentialNodes()
PotentialNodes lists nodes where the Pod might be able to run.The size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.
-
getSelectedNode
@Stability(Stable) @Nullable default String getSelectedNode()
SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use "WaitForFirstConsumer" allocation is to be attempted.
-
builder
@Stability(Stable) static PodSchedulingContextSpecV1Alpha2.Builder builder()
-
-