pub struct ClusterClassWorkersMachineDeploymentsDeletion {
pub node_deletion_timeout_seconds: Option<i32>,
pub node_drain_timeout_seconds: Option<i32>,
pub node_volume_detach_timeout_seconds: Option<i32>,
pub order: Option<ClusterClassWorkersMachineDeploymentsDeletionOrder>,
}Expand description
deletion contains configuration options for Machine deletion.
Fields§
§node_deletion_timeout_seconds: Option<i32>nodeDeletionTimeoutSeconds defines how long the controller will attempt to delete the Node that the Machine hosts after the Machine is marked for deletion. A duration of 0 will retry deletion indefinitely. Defaults to 10 seconds. NOTE: This value can be overridden while defining a Cluster.Topology using this MachineDeploymentClass.
node_drain_timeout_seconds: Option<i32>nodeDrainTimeoutSeconds is the total amount of time that the controller will spend on draining a node.
The default value is 0, meaning that the node can be drained without any time limitations.
NOTE: nodeDrainTimeoutSeconds is different from kubectl drain --timeout
NOTE: This value can be overridden while defining a Cluster.Topology using this MachineDeploymentClass.
node_volume_detach_timeout_seconds: Option<i32>nodeVolumeDetachTimeoutSeconds is the total amount of time that the controller will spend on waiting for all volumes to be detached. The default value is 0, meaning that the volumes can be detached without any time limitations. NOTE: This value can be overridden while defining a Cluster.Topology using this MachineDeploymentClass.
order: Option<ClusterClassWorkersMachineDeploymentsDeletionOrder>order defines the order in which Machines are deleted when downscaling. Defaults to “Random”. Valid values are “Random, “Newest”, “Oldest”
Trait Implementations§
Source§impl Clone for ClusterClassWorkersMachineDeploymentsDeletion
impl Clone for ClusterClassWorkersMachineDeploymentsDeletion
Source§fn clone(&self) -> ClusterClassWorkersMachineDeploymentsDeletion
fn clone(&self) -> ClusterClassWorkersMachineDeploymentsDeletion
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ClusterClassWorkersMachineDeploymentsDeletion
impl Default for ClusterClassWorkersMachineDeploymentsDeletion
Source§fn default() -> ClusterClassWorkersMachineDeploymentsDeletion
fn default() -> ClusterClassWorkersMachineDeploymentsDeletion
Source§impl<'de> Deserialize<'de> for ClusterClassWorkersMachineDeploymentsDeletion
impl<'de> Deserialize<'de> for ClusterClassWorkersMachineDeploymentsDeletion
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>,
Source§impl JsonSchema for ClusterClassWorkersMachineDeploymentsDeletion
impl JsonSchema for ClusterClassWorkersMachineDeploymentsDeletion
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for ClusterClassWorkersMachineDeploymentsDeletion
impl PartialEq for ClusterClassWorkersMachineDeploymentsDeletion
Source§fn eq(&self, other: &ClusterClassWorkersMachineDeploymentsDeletion) -> bool
fn eq(&self, other: &ClusterClassWorkersMachineDeploymentsDeletion) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterClassWorkersMachineDeploymentsDeletion
Auto Trait Implementations§
impl Freeze for ClusterClassWorkersMachineDeploymentsDeletion
impl RefUnwindSafe for ClusterClassWorkersMachineDeploymentsDeletion
impl Send for ClusterClassWorkersMachineDeploymentsDeletion
impl Sync for ClusterClassWorkersMachineDeploymentsDeletion
impl Unpin for ClusterClassWorkersMachineDeploymentsDeletion
impl UnwindSafe for ClusterClassWorkersMachineDeploymentsDeletion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more