pub struct ClusterClassWorkersMachineDeploymentsHealthCheckChecks {
pub node_startup_timeout_seconds: Option<i32>,
pub unhealthy_machine_conditions: Option<Vec<ClusterClassWorkersMachineDeploymentsHealthCheckChecksUnhealthyMachineConditions>>,
pub unhealthy_node_conditions: Option<Vec<ClusterClassWorkersMachineDeploymentsHealthCheckChecksUnhealthyNodeConditions>>,
}Expand description
checks are the checks that are used to evaluate if a Machine is healthy.
Independent of this configuration the MachineHealthCheck controller will always
flag Machines with cluster.x-k8s.io/remediate-machine annotation and
Machines with deleted Nodes as unhealthy.
Furthermore, if checks.nodeStartupTimeoutSeconds is not set it is defaulted to 10 minutes and evaluated accordingly.
Fields§
§node_startup_timeout_seconds: Option<i32>nodeStartupTimeoutSeconds allows to set the maximum time for MachineHealthCheck
to consider a Machine unhealthy if a corresponding Node isn’t associated
through a Spec.ProviderID field.
The duration set in this field is compared to the greatest of:
- Cluster’s infrastructure ready condition timestamp (if and when available)
- Control Plane’s initialized condition timestamp (if and when available)
- Machine’s infrastructure ready condition timestamp (if and when available)
- Machine’s metadata creation timestamp
Defaults to 10 minutes. If you wish to disable this feature, set the value explicitly to 0.
unhealthy_machine_conditions: Option<Vec<ClusterClassWorkersMachineDeploymentsHealthCheckChecksUnhealthyMachineConditions>>unhealthyMachineConditions contains a list of the machine conditions that determine whether a machine is considered unhealthy. The conditions are combined in a logical OR, i.e. if any of the conditions is met, the machine is unhealthy.
unhealthy_node_conditions: Option<Vec<ClusterClassWorkersMachineDeploymentsHealthCheckChecksUnhealthyNodeConditions>>unhealthyNodeConditions contains a list of conditions that determine whether a node is considered unhealthy. The conditions are combined in a logical OR, i.e. if any of the conditions is met, the node is unhealthy.
Trait Implementations§
Source§impl Clone for ClusterClassWorkersMachineDeploymentsHealthCheckChecks
impl Clone for ClusterClassWorkersMachineDeploymentsHealthCheckChecks
Source§fn clone(&self) -> ClusterClassWorkersMachineDeploymentsHealthCheckChecks
fn clone(&self) -> ClusterClassWorkersMachineDeploymentsHealthCheckChecks
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ClusterClassWorkersMachineDeploymentsHealthCheckChecks
impl Default for ClusterClassWorkersMachineDeploymentsHealthCheckChecks
Source§fn default() -> ClusterClassWorkersMachineDeploymentsHealthCheckChecks
fn default() -> ClusterClassWorkersMachineDeploymentsHealthCheckChecks
Source§impl<'de> Deserialize<'de> for ClusterClassWorkersMachineDeploymentsHealthCheckChecks
impl<'de> Deserialize<'de> for ClusterClassWorkersMachineDeploymentsHealthCheckChecks
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 ClusterClassWorkersMachineDeploymentsHealthCheckChecks
impl JsonSchema for ClusterClassWorkersMachineDeploymentsHealthCheckChecks
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 ClusterClassWorkersMachineDeploymentsHealthCheckChecks
impl PartialEq for ClusterClassWorkersMachineDeploymentsHealthCheckChecks
Source§fn eq(
&self,
other: &ClusterClassWorkersMachineDeploymentsHealthCheckChecks,
) -> bool
fn eq( &self, other: &ClusterClassWorkersMachineDeploymentsHealthCheckChecks, ) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterClassWorkersMachineDeploymentsHealthCheckChecks
Auto Trait Implementations§
impl Freeze for ClusterClassWorkersMachineDeploymentsHealthCheckChecks
impl RefUnwindSafe for ClusterClassWorkersMachineDeploymentsHealthCheckChecks
impl Send for ClusterClassWorkersMachineDeploymentsHealthCheckChecks
impl Sync for ClusterClassWorkersMachineDeploymentsHealthCheckChecks
impl Unpin for ClusterClassWorkersMachineDeploymentsHealthCheckChecks
impl UnsafeUnpin for ClusterClassWorkersMachineDeploymentsHealthCheckChecks
impl UnwindSafe for ClusterClassWorkersMachineDeploymentsHealthCheckChecks
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