Package io.fabric8.kubernetes.api.model
Class NodePodPreemptionPolicy
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.NodePodPreemptionPolicy
-
- All Implemented Interfaces:
Editable<NodePodPreemptionPolicyBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NodePodPreemptionPolicy extends Object implements Editable<NodePodPreemptionPolicyBuilder>, KubernetesResource
NodePodPreemptionPolicy defines the node-level policies governing preemption for pods on this node.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodePodPreemptionPolicy()No args constructor for use in serializationNodePodPreemptionPolicy(List<String> disableResizePreemption)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodePodPreemptionPolicyBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getDisableResizePreemption()DisableResizePreemption lists the owners (e.g., autoscalers, operators, administrators) that have requested to disable scheduler and Kubelet preemption for in-place pod resize on this node.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDisableResizePreemption(List<String> disableResizePreemption)DisableResizePreemption lists the owners (e.g., autoscalers, operators, administrators) that have requested to disable scheduler and Kubelet preemption for in-place pod resize on this node.NodePodPreemptionPolicyBuildertoBuilder()
-
-
-
Method Detail
-
getDisableResizePreemption
public List<String> getDisableResizePreemption()
DisableResizePreemption lists the owners (e.g., autoscalers, operators, administrators) that have requested to disable scheduler and Kubelet preemption for in-place pod resize on this node. If this list is non-empty, resize-induced preemption is disabled on this node. This is an alpha field and requires enabling the InPlacePodVerticalScalingSchedulerPreemption feature gate.
-
setDisableResizePreemption
public void setDisableResizePreemption(List<String> disableResizePreemption)
DisableResizePreemption lists the owners (e.g., autoscalers, operators, administrators) that have requested to disable scheduler and Kubelet preemption for in-place pod resize on this node. If this list is non-empty, resize-induced preemption is disabled on this node. This is an alpha field and requires enabling the InPlacePodVerticalScalingSchedulerPreemption feature gate.
-
edit
public NodePodPreemptionPolicyBuilder edit()
- Specified by:
editin interfaceEditable<NodePodPreemptionPolicyBuilder>
-
toBuilder
public NodePodPreemptionPolicyBuilder toBuilder()
-
-