Class: Google::Cloud::Container::V1beta1::NodePoolAutoscaling

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

Overview

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

Defined Under Namespace

Modules: LocationPolicy

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.



3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3594

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

  # Location policy specifies how zones are picked when scaling up the
  # nodepool.
  module LocationPolicy
    # Not set.
    LOCATION_POLICY_UNSPECIFIED = 0

    # BALANCED is a best effort policy that aims to balance the sizes of
    # different zones.
    BALANCED = 1

    # ANY policy picks zones that have the highest capacity available.
    ANY = 2
  end
end

#enabled::Boolean

Returns Is autoscaling enabled for this node pool.

Returns:

  • (::Boolean)

    Is autoscaling enabled for this node pool.



3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3594

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

  # Location policy specifies how zones are picked when scaling up the
  # nodepool.
  module LocationPolicy
    # Not set.
    LOCATION_POLICY_UNSPECIFIED = 0

    # BALANCED is a best effort policy that aims to balance the sizes of
    # different zones.
    BALANCED = 1

    # ANY policy picks zones that have the highest capacity available.
    ANY = 2
  end
end

#location_policy::Google::Cloud::Container::V1beta1::NodePoolAutoscaling::LocationPolicy

Returns Location policy used when scaling up a nodepool.

Returns:



3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3594

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

  # Location policy specifies how zones are picked when scaling up the
  # nodepool.
  module LocationPolicy
    # Not set.
    LOCATION_POLICY_UNSPECIFIED = 0

    # BALANCED is a best effort policy that aims to balance the sizes of
    # different zones.
    BALANCED = 1

    # ANY policy picks zones that have the highest capacity available.
    ANY = 2
  end
end

#max_node_count::Integer

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

Returns:

  • (::Integer)

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



3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3594

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

  # Location policy specifies how zones are picked when scaling up the
  # nodepool.
  module LocationPolicy
    # Not set.
    LOCATION_POLICY_UNSPECIFIED = 0

    # BALANCED is a best effort policy that aims to balance the sizes of
    # different zones.
    BALANCED = 1

    # ANY policy picks zones that have the highest capacity available.
    ANY = 2
  end
end

#min_node_count::Integer

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

Returns:

  • (::Integer)

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



3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3594

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

  # Location policy specifies how zones are picked when scaling up the
  # nodepool.
  module LocationPolicy
    # Not set.
    LOCATION_POLICY_UNSPECIFIED = 0

    # BALANCED is a best effort policy that aims to balance the sizes of
    # different zones.
    BALANCED = 1

    # ANY policy picks zones that have the highest capacity available.
    ANY = 2
  end
end

#total_max_node_count::Integer

Returns Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.

Returns:

  • (::Integer)

    Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.



3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3594

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

  # Location policy specifies how zones are picked when scaling up the
  # nodepool.
  module LocationPolicy
    # Not set.
    LOCATION_POLICY_UNSPECIFIED = 0

    # BALANCED is a best effort policy that aims to balance the sizes of
    # different zones.
    BALANCED = 1

    # ANY policy picks zones that have the highest capacity available.
    ANY = 2
  end
end

#total_min_node_count::Integer

Returns Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.

Returns:

  • (::Integer)

    Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.



3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3594

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

  # Location policy specifies how zones are picked when scaling up the
  # nodepool.
  module LocationPolicy
    # Not set.
    LOCATION_POLICY_UNSPECIFIED = 0

    # BALANCED is a best effort policy that aims to balance the sizes of
    # different zones.
    BALANCED = 1

    # ANY policy picks zones that have the highest capacity available.
    ANY = 2
  end
end