pub struct MachineSetStatus {
pub available_replicas: Option<i32>,
pub conditions: Option<Vec<Condition>>,
pub failure_message: Option<String>,
pub failure_reason: Option<String>,
pub fully_labeled_replicas: Option<i32>,
pub observed_generation: Option<i64>,
pub ready_replicas: Option<i32>,
pub replicas: Option<i32>,
pub selector: Option<String>,
pub v1beta2: Option<MachineSetStatusV1beta2>,
}
Expand description
status is the observed state of MachineSet.
Fields§
§available_replicas: Option<i32>
availableReplicas is the number of available replicas (ready for at least minReadySeconds) for this MachineSet.
conditions: Option<Vec<Condition>>
conditions defines current service state of the MachineSet.
failure_message: Option<String>
failureMessage will be set in the event that there is a terminal problem reconciling the Machine and will contain a more verbose string suitable for logging and human consumption.
Deprecated: This field is deprecated and is going to be removed in the next apiVersion. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details.
failure_reason: Option<String>
failureReason will be set in the event that there is a terminal problem reconciling the Machine and will contain a succinct value suitable for machine interpretation.
In the event that there is a terminal problem reconciling the replicas, both FailureReason and FailureMessage will be set. FailureReason will be populated with a succinct value suitable for machine interpretation, while FailureMessage will contain a more verbose string suitable for logging and human consumption.
These fields should not be set for transitive errors that a controller faces that are expected to be fixed automatically over time (like service outages), but instead indicate that something is fundamentally wrong with the MachineTemplate’s spec or the configuration of the machine controller, and that manual intervention is required. Examples of terminal errors would be invalid combinations of settings in the spec, values that are unsupported by the machine controller, or the responsible machine controller itself being critically misconfigured.
Any transient errors that occur during the reconciliation of Machines can be added as events to the MachineSet object and/or logged in the controller’s output.
Deprecated: This field is deprecated and is going to be removed in the next apiVersion. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details.
fully_labeled_replicas: Option<i32>
fullyLabeledReplicas is the number of replicas that have labels matching the labels of the machine template of the MachineSet.
Deprecated: This field is deprecated and is going to be removed in the next apiVersion. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details.
observed_generation: Option<i64>
observedGeneration reflects the generation of the most recently observed MachineSet.
ready_replicas: Option<i32>
readyReplicas is the number of ready replicas for this MachineSet. A machine is considered ready when the node has been created and is “Ready”.
replicas: Option<i32>
replicas is the most recently observed number of replicas.
selector: Option<String>
selector is the same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors
v1beta2: Option<MachineSetStatusV1beta2>
v1beta2 groups all the fields that will be added or modified in MachineSet’s status with the V1Beta2 version.
Trait Implementations§
Source§impl Clone for MachineSetStatus
impl Clone for MachineSetStatus
Source§fn clone(&self) -> MachineSetStatus
fn clone(&self) -> MachineSetStatus
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MachineSetStatus
impl Debug for MachineSetStatus
Source§impl Default for MachineSetStatus
impl Default for MachineSetStatus
Source§fn default() -> MachineSetStatus
fn default() -> MachineSetStatus
Source§impl<'de> Deserialize<'de> for MachineSetStatus
impl<'de> Deserialize<'de> for MachineSetStatus
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 MachineSetStatus
impl JsonSchema for MachineSetStatus
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 moreSource§impl PartialEq for MachineSetStatus
impl PartialEq for MachineSetStatus
Source§impl Serialize for MachineSetStatus
impl Serialize for MachineSetStatus
impl StructuralPartialEq for MachineSetStatus
Auto Trait Implementations§
impl Freeze for MachineSetStatus
impl RefUnwindSafe for MachineSetStatus
impl Send for MachineSetStatus
impl Sync for MachineSetStatus
impl Unpin for MachineSetStatus
impl UnwindSafe for MachineSetStatus
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