Struct google_container1::api::NodePoolAutoscaling
source · pub struct NodePoolAutoscaling {
pub autoprovisioned: Option<bool>,
pub enabled: Option<bool>,
pub location_policy: Option<String>,
pub max_node_count: Option<i32>,
pub min_node_count: Option<i32>,
pub total_max_node_count: Option<i32>,
pub total_min_node_count: Option<i32>,
}
Expand description
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§
§autoprovisioned: Option<bool>
Can this node pool be deleted automatically.
enabled: Option<bool>
Is autoscaling enabled for this node pool.
location_policy: Option<String>
Location policy used when scaling up a nodepool.
max_node_count: Option<i32>
Maximum number of nodes for one location in the NodePool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.
min_node_count: Option<i32>
Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.
total_max_node_count: Option<i32>
Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.
total_min_node_count: Option<i32>
Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.
Trait Implementations§
source§impl Clone for NodePoolAutoscaling
impl Clone for NodePoolAutoscaling
source§fn clone(&self) -> NodePoolAutoscaling
fn clone(&self) -> NodePoolAutoscaling
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more