Struct k8s_cluster_api::v1beta1::controlplane::kubeadm::RollingUpdate [−][src]
pub struct RollingUpdate {
pub max_surge: Option<IntOrString>,
}
Expand description
RollingUpdate is used to control the desired behavior of rolling update.
Fields
max_surge: Option<IntOrString>
The maximum number of control planes that can be scheduled above or under the desired number of control planes. Value can be an absolute number 1 or 0. Defaults to 1. Example: when this is set to 1, the control plane can be scaled up immediately when the rolling update starts.
Trait Implementations
Returns the “default value” for a type. Read more
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for RollingUpdate
impl Send for RollingUpdate
impl Sync for RollingUpdate
impl Unpin for RollingUpdate
impl UnwindSafe for RollingUpdate
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more