Class: Aws::EKS::Types::NodegroupUpdateConfig

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

Overview

The node group update configuration. An Amazon EKS managed node group updates by replacing nodes with new nodes of newer AMI versions in parallel. You choose the *maximum unavailable* and the *update strategy*.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_unavailableInteger

The maximum number of nodes unavailable at once during a version update. Nodes are updated in parallel. This value or ‘maxUnavailablePercentage` is required to have a value.The maximum number is 100.

Returns:

  • (Integer)


5332
5333
5334
5335
5336
5337
5338
# File 'lib/aws-sdk-eks/types.rb', line 5332

class NodegroupUpdateConfig < Struct.new(
  :max_unavailable,
  :max_unavailable_percentage,
  :update_strategy)
  SENSITIVE = []
  include Aws::Structure
end

#max_unavailable_percentageInteger

The maximum percentage of nodes unavailable during a version update. This percentage of nodes are updated in parallel, up to 100 nodes at once. This value or ‘maxUnavailable` is required to have a value.

Returns:

  • (Integer)


5332
5333
5334
5335
5336
5337
5338
# File 'lib/aws-sdk-eks/types.rb', line 5332

class NodegroupUpdateConfig < Struct.new(
  :max_unavailable,
  :max_unavailable_percentage,
  :update_strategy)
  SENSITIVE = []
  include Aws::Structure
end

#update_strategyString

The configuration for the behavior to follow during a node group version update of this managed node group. You choose between two possible strategies for replacing nodes during an [ ‘UpdateNodegroupVersion` ][1] action.

An Amazon EKS managed node group updates by replacing nodes with new nodes of newer AMI versions in parallel. The *update strategy* changes the managed node update behavior of the managed node group for each quantity. The default strategy has guardrails to protect you from misconfiguration and launches the new instances first, before terminating the old instances. The minimal strategy removes the guardrails and terminates the old instances before launching the new instances. This minimal strategy is useful in scenarios where you are constrained to resources or costs (for example, with hardware accelerators such as GPUs).

[1]: docs.aws.amazon.com/eks/latest/APIReference/API_UpdateNodegroupVersion.html

Returns:

  • (String)


5332
5333
5334
5335
5336
5337
5338
# File 'lib/aws-sdk-eks/types.rb', line 5332

class NodegroupUpdateConfig < Struct.new(
  :max_unavailable,
  :max_unavailable_percentage,
  :update_strategy)
  SENSITIVE = []
  include Aws::Structure
end