Struct google_container1::NodePoolAutoscaling [−][src]
pub struct NodePoolAutoscaling {
pub min_node_count: Option<i32>,
pub enabled: Option<bool>,
pub max_node_count: Option<i32>,
}NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.
This type is not used in any activity, and only used as part of another schema.
Fields
min_node_count: Option<i32>
Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
enabled: Option<bool>
Is autoscaling enabled for this node pool.
max_node_count: Option<i32>
Maximum number of nodes in the NodePool. Must be >= min_node_count. There has to enough quota to scale up the cluster.
Trait Implementations
impl Default for NodePoolAutoscaling[src]
impl Default for NodePoolAutoscalingfn default() -> NodePoolAutoscaling[src]
fn default() -> NodePoolAutoscalingReturns the "default value" for a type. Read more
impl Clone for NodePoolAutoscaling[src]
impl Clone for NodePoolAutoscalingfn clone(&self) -> NodePoolAutoscaling[src]
fn clone(&self) -> NodePoolAutoscalingReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for NodePoolAutoscaling[src]
impl Debug for NodePoolAutoscalingfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Part for NodePoolAutoscaling[src]
impl Part for NodePoolAutoscalingAuto Trait Implementations
impl Send for NodePoolAutoscaling
impl Send for NodePoolAutoscalingimpl Sync for NodePoolAutoscaling
impl Sync for NodePoolAutoscaling