pub enum IoK8sApiCoreV1TolerationEffect {
NoExecute,
NoSchedule,
PreferNoSchedule,
}Expand description
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
Possible enum values:
"NoExecute"Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController."NoSchedule"Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler."PreferNoSchedule"Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler.
Variants§
Trait Implementations§
Source§impl Clone for IoK8sApiCoreV1TolerationEffect
impl Clone for IoK8sApiCoreV1TolerationEffect
Source§fn clone(&self) -> IoK8sApiCoreV1TolerationEffect
fn clone(&self) -> IoK8sApiCoreV1TolerationEffect
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for IoK8sApiCoreV1TolerationEffect
impl<'de> Deserialize<'de> for IoK8sApiCoreV1TolerationEffect
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 From<&IoK8sApiCoreV1TolerationEffect> for IoK8sApiCoreV1TolerationEffect
impl From<&IoK8sApiCoreV1TolerationEffect> for IoK8sApiCoreV1TolerationEffect
Source§fn from(value: &IoK8sApiCoreV1TolerationEffect) -> Self
fn from(value: &IoK8sApiCoreV1TolerationEffect) -> Self
Converts to this type from the input type.
Source§impl Ord for IoK8sApiCoreV1TolerationEffect
impl Ord for IoK8sApiCoreV1TolerationEffect
Source§fn cmp(&self, other: &IoK8sApiCoreV1TolerationEffect) -> Ordering
fn cmp(&self, other: &IoK8sApiCoreV1TolerationEffect) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IoK8sApiCoreV1TolerationEffect
impl PartialEq for IoK8sApiCoreV1TolerationEffect
Source§fn eq(&self, other: &IoK8sApiCoreV1TolerationEffect) -> bool
fn eq(&self, other: &IoK8sApiCoreV1TolerationEffect) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for IoK8sApiCoreV1TolerationEffect
impl PartialOrd for IoK8sApiCoreV1TolerationEffect
Source§impl TryFrom<&String> for IoK8sApiCoreV1TolerationEffect
impl TryFrom<&String> for IoK8sApiCoreV1TolerationEffect
Source§impl TryFrom<&str> for IoK8sApiCoreV1TolerationEffect
impl TryFrom<&str> for IoK8sApiCoreV1TolerationEffect
impl Copy for IoK8sApiCoreV1TolerationEffect
impl Eq for IoK8sApiCoreV1TolerationEffect
impl StructuralPartialEq for IoK8sApiCoreV1TolerationEffect
Auto Trait Implementations§
impl Freeze for IoK8sApiCoreV1TolerationEffect
impl RefUnwindSafe for IoK8sApiCoreV1TolerationEffect
impl Send for IoK8sApiCoreV1TolerationEffect
impl Sync for IoK8sApiCoreV1TolerationEffect
impl Unpin for IoK8sApiCoreV1TolerationEffect
impl UnwindSafe for IoK8sApiCoreV1TolerationEffect
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