Struct k8s_openapi::v1_9::api::extensions::v1beta1::RollingUpdateDaemonSet[][src]

pub struct RollingUpdateDaemonSet {
    pub max_unavailable: Option<IntOrString>,
}

Spec to control the desired behavior of daemon set rolling update.

Fields

The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.

Trait Implementations

impl Clone for RollingUpdateDaemonSet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for RollingUpdateDaemonSet
[src]

Formats the value using the given formatter. Read more

impl Default for RollingUpdateDaemonSet
[src]

Returns the "default value" for a type. Read more

impl PartialEq for RollingUpdateDaemonSet
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for RollingUpdateDaemonSet
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for RollingUpdateDaemonSet
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations