pub struct ClusterTopologyControlPlane {
pub machine_health_check: Option<ClusterTopologyControlPlaneMachineHealthCheck>,
pub metadata: Option<ClusterTopologyControlPlaneMetadata>,
pub node_deletion_timeout: Option<String>,
pub node_drain_timeout: Option<String>,
pub node_volume_detach_timeout: Option<String>,
pub replicas: Option<i32>,
pub variables: Option<ClusterTopologyControlPlaneVariables>,
}
Expand description
controlPlane describes the cluster control plane.
Fields§
§machine_health_check: Option<ClusterTopologyControlPlaneMachineHealthCheck>
machineHealthCheck allows to enable, disable and override the MachineHealthCheck configuration in the ClusterClass for this control plane.
metadata: Option<ClusterTopologyControlPlaneMetadata>
metadata is the metadata applied to the ControlPlane and the Machines of the ControlPlane if the ControlPlaneTemplate referenced by the ClusterClass is machine based. If not, it is applied only to the ControlPlane. At runtime this metadata is merged with the corresponding metadata from the ClusterClass.
node_deletion_timeout: Option<String>
nodeDeletionTimeout 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.
node_drain_timeout: Option<String>
nodeDrainTimeout 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: NodeDrainTimeout is different from kubectl drain --timeout
node_volume_detach_timeout: Option<String>
nodeVolumeDetachTimeout 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.
replicas: Option<i32>
replicas is the number of control plane nodes. If the value is nil, the ControlPlane object is created without the number of Replicas and it’s assumed that the control plane controller does not implement support for this field. When specified against a control plane provider that lacks support for this field, this value will be ignored.
variables: Option<ClusterTopologyControlPlaneVariables>
variables can be used to customize the ControlPlane through patches.
Trait Implementations§
Source§impl Clone for ClusterTopologyControlPlane
impl Clone for ClusterTopologyControlPlane
Source§fn clone(&self) -> ClusterTopologyControlPlane
fn clone(&self) -> ClusterTopologyControlPlane
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ClusterTopologyControlPlane
impl Debug for ClusterTopologyControlPlane
Source§impl Default for ClusterTopologyControlPlane
impl Default for ClusterTopologyControlPlane
Source§fn default() -> ClusterTopologyControlPlane
fn default() -> ClusterTopologyControlPlane
Source§impl<'de> Deserialize<'de> for ClusterTopologyControlPlane
impl<'de> Deserialize<'de> for ClusterTopologyControlPlane
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 ClusterTopologyControlPlane
impl JsonSchema for ClusterTopologyControlPlane
Source§fn schema_name() -> String
fn schema_name() -> String
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 is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreimpl StructuralPartialEq for ClusterTopologyControlPlane
Auto Trait Implementations§
impl Freeze for ClusterTopologyControlPlane
impl RefUnwindSafe for ClusterTopologyControlPlane
impl Send for ClusterTopologyControlPlane
impl Sync for ClusterTopologyControlPlane
impl Unpin for ClusterTopologyControlPlane
impl UnwindSafe for ClusterTopologyControlPlane
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