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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#autoprovisioning_locations
def autoprovisioning_locations() -> ::Array<::String>
Returns
- (::Array<::String>) — The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.
#autoprovisioning_locations=
def autoprovisioning_locations=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.
Returns
- (::Array<::String>) — The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.
#autoprovisioning_node_pool_defaults
def autoprovisioning_node_pool_defaults() -> ::Google::Cloud::Container::V1beta1::AutoprovisioningNodePoolDefaults
Returns
- (::Google::Cloud::Container::V1beta1::AutoprovisioningNodePoolDefaults) — AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
#autoprovisioning_node_pool_defaults=
def autoprovisioning_node_pool_defaults=(value) -> ::Google::Cloud::Container::V1beta1::AutoprovisioningNodePoolDefaults
Parameter
- value (::Google::Cloud::Container::V1beta1::AutoprovisioningNodePoolDefaults) — AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
Returns
- (::Google::Cloud::Container::V1beta1::AutoprovisioningNodePoolDefaults) — AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
#autoscaling_profile
def autoscaling_profile() -> ::Google::Cloud::Container::V1beta1::ClusterAutoscaling::AutoscalingProfile
Returns
- (::Google::Cloud::Container::V1beta1::ClusterAutoscaling::AutoscalingProfile) — Defines autoscaling behaviour.
#autoscaling_profile=
def autoscaling_profile=(value) -> ::Google::Cloud::Container::V1beta1::ClusterAutoscaling::AutoscalingProfile
Parameter
- value (::Google::Cloud::Container::V1beta1::ClusterAutoscaling::AutoscalingProfile) — Defines autoscaling behaviour.
Returns
- (::Google::Cloud::Container::V1beta1::ClusterAutoscaling::AutoscalingProfile) — Defines autoscaling behaviour.
#enable_node_autoprovisioning
def enable_node_autoprovisioning() -> ::Boolean
Returns
- (::Boolean) — Enables automatic node pool creation and deletion.
#enable_node_autoprovisioning=
def enable_node_autoprovisioning=(value) -> ::Boolean
Parameter
- value (::Boolean) — Enables automatic node pool creation and deletion.
Returns
- (::Boolean) — Enables automatic node pool creation and deletion.
#resource_limits
def resource_limits() -> ::Array<::Google::Cloud::Container::V1beta1::ResourceLimit>
Returns
- (::Array<::Google::Cloud::Container::V1beta1::ResourceLimit>) — Contains global constraints regarding minimum and maximum amount of resources in the cluster.
#resource_limits=
def resource_limits=(value) -> ::Array<::Google::Cloud::Container::V1beta1::ResourceLimit>
Parameter
- value (::Array<::Google::Cloud::Container::V1beta1::ResourceLimit>) — Contains global constraints regarding minimum and maximum amount of resources in the cluster.
Returns
- (::Array<::Google::Cloud::Container::V1beta1::ResourceLimit>) — Contains global constraints regarding minimum and maximum amount of resources in the cluster.