Class: Aws::EKS::Types::NodegroupScalingConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb

Overview

Note:

When making an API call, you may pass NodegroupScalingConfig data as a hash:

{
  min_size: 1,
  max_size: 1,
  desired_size: 1,
}

An object representing the scaling configuration details for the Auto Scaling group that is associated with your node group.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#desired_sizeInteger

The current number of worker nodes that the managed node group should maintain.

Returns:

  • (Integer)


1735
1736
1737
1738
1739
1740
1741
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 1735

class NodegroupScalingConfig < Struct.new(
  :min_size,
  :max_size,
  :desired_size)
  SENSITIVE = []
  include Aws::Structure
end

#max_sizeInteger

The maximum number of worker nodes that the managed node group can scale out to. Managed node groups can support up to 100 nodes by default.

Returns:

  • (Integer)


1735
1736
1737
1738
1739
1740
1741
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 1735

class NodegroupScalingConfig < Struct.new(
  :min_size,
  :max_size,
  :desired_size)
  SENSITIVE = []
  include Aws::Structure
end

#min_sizeInteger

The minimum number of worker nodes that the managed node group can scale in to. This number must be greater than zero.

Returns:

  • (Integer)


1735
1736
1737
1738
1739
1740
1741
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 1735

class NodegroupScalingConfig < Struct.new(
  :min_size,
  :max_size,
  :desired_size)
  SENSITIVE = []
  include Aws::Structure
end