pub struct NodePodPreemptionPolicy {
pub disable_resize_preemption: Option<Vec<String>>,
}Expand description
NodePodPreemptionPolicy defines the node-level policies governing preemption for pods on this node.
Fields§
§disable_resize_preemption: Option<Vec<String>>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.
Trait Implementations§
Source§impl Clone for NodePodPreemptionPolicy
impl Clone for NodePodPreemptionPolicy
Source§impl Debug for NodePodPreemptionPolicy
impl Debug for NodePodPreemptionPolicy
Source§impl DeepMerge for NodePodPreemptionPolicy
impl DeepMerge for NodePodPreemptionPolicy
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl Default for NodePodPreemptionPolicy
impl Default for NodePodPreemptionPolicy
Source§impl<'de> Deserialize<'de> for NodePodPreemptionPolicy
impl<'de> Deserialize<'de> for NodePodPreemptionPolicy
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NodePodPreemptionPolicy
impl PartialEq for NodePodPreemptionPolicy
Source§impl Serialize for NodePodPreemptionPolicy
impl Serialize for NodePodPreemptionPolicy
impl StructuralPartialEq for NodePodPreemptionPolicy
Auto Trait Implementations§
impl Freeze for NodePodPreemptionPolicy
impl RefUnwindSafe for NodePodPreemptionPolicy
impl Send for NodePodPreemptionPolicy
impl Sync for NodePodPreemptionPolicy
impl Unpin for NodePodPreemptionPolicy
impl UnsafeUnpin for NodePodPreemptionPolicy
impl UnwindSafe for NodePodPreemptionPolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more