Class SchedulingArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.kubernetes.node.v1beta1.inputs.SchedulingArgs
-
public final class SchedulingArgs extends com.pulumi.resources.ResourceArgs
Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SchedulingArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static SchedulingArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SchedulingArgs.Builder
builder()
static SchedulingArgs.Builder
builder(SchedulingArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>
nodeSelector()
java.util.Optional<com.pulumi.core.Output<java.util.List<TolerationArgs>>>
tolerations()
-
-
-
Field Detail
-
Empty
public static final SchedulingArgs Empty
-
-
Method Detail
-
nodeSelector
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> nodeSelector()
- Returns:
- nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.
-
tolerations
public java.util.Optional<com.pulumi.core.Output<java.util.List<TolerationArgs>>> tolerations()
- Returns:
- tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
-
builder
public static SchedulingArgs.Builder builder()
-
builder
public static SchedulingArgs.Builder builder(SchedulingArgs defaults)
-
-