Struct k8s_openapi::api::apps::v1::DaemonSetUpdateStrategy
source · [−]pub struct DaemonSetUpdateStrategy {
pub rolling_update: Option<RollingUpdateDaemonSet>,
pub type_: Option<String>,
}
Expand description
DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
Fields
rolling_update: Option<RollingUpdateDaemonSet>
Rolling update config params. Present only if type = “RollingUpdate”.
type_: Option<String>
Type of daemon set update. Can be “RollingUpdate” or “OnDelete”. Default is RollingUpdate.
Possible enum values:
"OnDelete"
Replace the old daemons only when it’s killed"RollingUpdate"
Replace the old daemons by new ones using rolling update i.e replace them on each node one after the other.
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 DaemonSetUpdateStrategy
impl Send for DaemonSetUpdateStrategy
impl Sync for DaemonSetUpdateStrategy
impl Unpin for DaemonSetUpdateStrategy
impl UnwindSafe for DaemonSetUpdateStrategy
Blanket Implementations
Mutably borrows from an owned value. Read more