Struct google_container1::api::ClusterAutoscaling
source · pub struct ClusterAutoscaling {
pub autoprovisioning_locations: Option<Vec<String>>,
pub autoprovisioning_node_pool_defaults: Option<AutoprovisioningNodePoolDefaults>,
pub autoscaling_profile: Option<String>,
pub enable_node_autoprovisioning: Option<bool>,
pub resource_limits: Option<Vec<ResourceLimit>>,
}
Expand description
ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs.
This type is not used in any activity, and only used as part of another schema.
Fields§
§autoprovisioning_locations: Option<Vec<String>>
The list of Google Compute Engine zones in which the NodePool’s nodes can be created by NAP.
autoprovisioning_node_pool_defaults: Option<AutoprovisioningNodePoolDefaults>
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
autoscaling_profile: Option<String>
Defines autoscaling behaviour.
enable_node_autoprovisioning: Option<bool>
Enables automatic node pool creation and deletion.
resource_limits: Option<Vec<ResourceLimit>>
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
Trait Implementations§
source§impl Clone for ClusterAutoscaling
impl Clone for ClusterAutoscaling
source§fn clone(&self) -> ClusterAutoscaling
fn clone(&self) -> ClusterAutoscaling
Returns a copy 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 ClusterAutoscaling
impl Debug for ClusterAutoscaling
source§impl Default for ClusterAutoscaling
impl Default for ClusterAutoscaling
source§fn default() -> ClusterAutoscaling
fn default() -> ClusterAutoscaling
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClusterAutoscaling
impl<'de> Deserialize<'de> for ClusterAutoscaling
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