Struct google_api_proto::google::cloud::gkemulticloud::v1::UpdateSettings
source · pub struct UpdateSettings {
pub surge_settings: Option<SurgeSettings>,
}
Expand description
UpdateSettings control the level of parallelism and the level of disruption caused during the update of a node pool.
These settings are applicable when the node pool update requires replacing the existing node pool nodes with the updated ones.
UpdateSettings are optional. When UpdateSettings are not specified during the node pool creation, a default is chosen based on the parent cluster’s version. For clusters with minor version 1.27 and later, a default surge_settings configuration with max_surge = 1 and max_unavailable = 0 is used. For clusters with older versions, node pool updates use the traditional rolling update mechanism of updating one node at a time in a “terminate before create” fashion and update_settings is not applicable.
Set the surge_settings parameter to use the Surge Update mechanism for the rolling update of node pool nodes.
- max_surge controls the number of additional nodes that can be created beyond the current size of the node pool temporarily for the time of the update to increase the number of available nodes.
- max_unavailable controls the number of nodes that can be simultaneously unavailable during the update.
- (max_surge + max_unavailable) determines the level of parallelism (i.e., the number of nodes being updated at the same time).
Fields§
§surge_settings: Option<SurgeSettings>
Optional. Settings for surge update.
Trait Implementations§
source§impl Clone for UpdateSettings
impl Clone for UpdateSettings
source§fn clone(&self) -> UpdateSettings
fn clone(&self) -> UpdateSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateSettings
impl Debug for UpdateSettings
source§impl Default for UpdateSettings
impl Default for UpdateSettings
source§impl Message for UpdateSettings
impl Message for UpdateSettings
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for UpdateSettings
impl PartialEq for UpdateSettings
source§fn eq(&self, other: &UpdateSettings) -> bool
fn eq(&self, other: &UpdateSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for UpdateSettings
impl StructuralPartialEq for UpdateSettings
Auto Trait Implementations§
impl Freeze for UpdateSettings
impl RefUnwindSafe for UpdateSettings
impl Send for UpdateSettings
impl Sync for UpdateSettings
impl Unpin for UpdateSettings
impl UnwindSafe for UpdateSettings
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request