Struct k8s_openapi::api::apps::v1::StatefulSetUpdateStrategy
source · [−]pub struct StatefulSetUpdateStrategy {
pub rolling_update: Option<RollingUpdateStatefulSetStrategy>,
pub type_: Option<String>,
}
Expand description
StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.
Fields
rolling_update: Option<RollingUpdateStatefulSetStrategy>
RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
type_: Option<String>
Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
Possible enum values:
"OnDelete"
triggers the legacy behavior. Version tracking and ordered rolling restarts are disabled. Pods are recreated from the StatefulSetSpec when they are manually deleted. When a scale operation is performed with this strategy,specification version indicated by the StatefulSet’s currentRevision."RollingUpdate"
indicates that update will be applied to all Pods in the StatefulSet with respect to the StatefulSet ordering constraints. When a scale operation is performed with this strategy, new Pods will be created from the specification version indicated by the StatefulSet’s updateRevision.
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StatefulSetUpdateStrategy
impl Send for StatefulSetUpdateStrategy
impl Sync for StatefulSetUpdateStrategy
impl Unpin for StatefulSetUpdateStrategy
impl UnwindSafe for StatefulSetUpdateStrategy
Blanket Implementations
Mutably borrows from an owned value. Read more