Class: Google::Cloud::Container::V1::NodePoolAutoscaling

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1/cluster_service.rb

Overview

NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.

Instance Attribute Summary collapse

Instance Attribute Details

#autoprovisioned::Boolean

Returns Can this node pool be deleted automatically.

Returns:

  • (::Boolean)

    Can this node pool be deleted automatically.



2588
2589
2590
2591
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2588

class NodePoolAutoscaling
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#enabled::Boolean

Returns Is autoscaling enabled for this node pool.

Returns:

  • (::Boolean)

    Is autoscaling enabled for this node pool.



2588
2589
2590
2591
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2588

class NodePoolAutoscaling
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#max_node_count::Integer

Returns Maximum number of nodes in the NodePool. Must be >= min_node_count. There has to enough quota to scale up the cluster.

Returns:

  • (::Integer)

    Maximum number of nodes in the NodePool. Must be >= min_node_count. There has to enough quota to scale up the cluster.



2588
2589
2590
2591
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2588

class NodePoolAutoscaling
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#min_node_count::Integer

Returns Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.

Returns:

  • (::Integer)

    Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.



2588
2589
2590
2591
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2588

class NodePoolAutoscaling
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end