pub struct AutoscaledRolloutPolicy {
pub wait_for_drain_duration: Option<Duration>,
}Expand description
Autoscaled rollout policy utilizes the cluster autoscaler during blue-green upgrade to scale both the blue and green pools.
This type is not used in any activity, and only used as part of another schema.
Fields§
§wait_for_drain_duration: Option<Duration>Optional. Time to wait after cordoning the blue pool before draining the nodes. Defaults to 3 days. The value can be set between 0 and 7 days, inclusive.
Trait Implementations§
Source§impl Clone for AutoscaledRolloutPolicy
impl Clone for AutoscaledRolloutPolicy
Source§fn clone(&self) -> AutoscaledRolloutPolicy
fn clone(&self) -> AutoscaledRolloutPolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AutoscaledRolloutPolicy
impl Debug for AutoscaledRolloutPolicy
Source§impl Default for AutoscaledRolloutPolicy
impl Default for AutoscaledRolloutPolicy
Source§fn default() -> AutoscaledRolloutPolicy
fn default() -> AutoscaledRolloutPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoscaledRolloutPolicy
impl<'de> Deserialize<'de> for AutoscaledRolloutPolicy
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AutoscaledRolloutPolicy
impl Serialize for AutoscaledRolloutPolicy
impl Part for AutoscaledRolloutPolicy
Auto Trait Implementations§
impl Freeze for AutoscaledRolloutPolicy
impl RefUnwindSafe for AutoscaledRolloutPolicy
impl Send for AutoscaledRolloutPolicy
impl Sync for AutoscaledRolloutPolicy
impl Unpin for AutoscaledRolloutPolicy
impl UnwindSafe for AutoscaledRolloutPolicy
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
Mutably borrows from an owned value. Read more