Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::ClusterAutoscaling (v0.16.3)

Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::ClusterAutoscaling.

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::V1::AutoprovisioningNodePoolDefaults
Returns

#autoprovisioning_node_pool_defaults=

def autoprovisioning_node_pool_defaults=(value) -> ::Google::Cloud::Container::V1::AutoprovisioningNodePoolDefaults
Parameter
Returns

#autoscaling_profile

def autoscaling_profile() -> ::Google::Cloud::Container::V1::ClusterAutoscaling::AutoscalingProfile
Returns

#autoscaling_profile=

def autoscaling_profile=(value) -> ::Google::Cloud::Container::V1::ClusterAutoscaling::AutoscalingProfile
Parameter
Returns

#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::V1::ResourceLimit>
Returns

#resource_limits=

def resource_limits=(value) -> ::Array<::Google::Cloud::Container::V1::ResourceLimit>
Parameter
Returns