Class: Google::Container::V1beta1::ClusterAutoscaling

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#autoprovisioning_locationsArray<String>

Returns 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.



2025
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 2025

class ClusterAutoscaling; end

#autoprovisioning_node_pool_defaultsGoogle::Container::V1beta1::AutoprovisioningNodePoolDefaults

Returns AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.

Returns:



2025
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 2025

class ClusterAutoscaling; end

#enable_node_autoprovisioningtrue, false

Returns Enables automatic node pool creation and deletion.

Returns:

  • (true, false)

    Enables automatic node pool creation and deletion.



2025
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 2025

class ClusterAutoscaling; end

#resource_limitsArray<Google::Container::V1beta1::ResourceLimit>

Returns Contains global constraints regarding minimum and maximum amount of resources in the cluster.

Returns:



2025
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 2025

class ClusterAutoscaling; end