amazonka-eks-2.0: Amazon Elastic Kubernetes Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EKS.Types.NodegroupUpdateConfig

Description

 
Synopsis

Documentation

data NodegroupUpdateConfig Source #

The node group update configuration.

See: newNodegroupUpdateConfig smart constructor.

Constructors

NodegroupUpdateConfig' 

Fields

  • maxUnavailable :: Maybe Natural

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

  • maxUnavailablePercentage :: Maybe Natural

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

Instances

Instances details
FromJSON NodegroupUpdateConfig Source # 
Instance details

Defined in Amazonka.EKS.Types.NodegroupUpdateConfig

ToJSON NodegroupUpdateConfig Source # 
Instance details

Defined in Amazonka.EKS.Types.NodegroupUpdateConfig

Generic NodegroupUpdateConfig Source # 
Instance details

Defined in Amazonka.EKS.Types.NodegroupUpdateConfig

Associated Types

type Rep NodegroupUpdateConfig :: Type -> Type #

Read NodegroupUpdateConfig Source # 
Instance details

Defined in Amazonka.EKS.Types.NodegroupUpdateConfig

Show NodegroupUpdateConfig Source # 
Instance details

Defined in Amazonka.EKS.Types.NodegroupUpdateConfig

NFData NodegroupUpdateConfig Source # 
Instance details

Defined in Amazonka.EKS.Types.NodegroupUpdateConfig

Methods

rnf :: NodegroupUpdateConfig -> () #

Eq NodegroupUpdateConfig Source # 
Instance details

Defined in Amazonka.EKS.Types.NodegroupUpdateConfig

Hashable NodegroupUpdateConfig Source # 
Instance details

Defined in Amazonka.EKS.Types.NodegroupUpdateConfig

type Rep NodegroupUpdateConfig Source # 
Instance details

Defined in Amazonka.EKS.Types.NodegroupUpdateConfig

type Rep NodegroupUpdateConfig = D1 ('MetaData "NodegroupUpdateConfig" "Amazonka.EKS.Types.NodegroupUpdateConfig" "amazonka-eks-2.0-7cAibD4zEbE2zPO6gnUh5m" 'False) (C1 ('MetaCons "NodegroupUpdateConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxUnavailable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "maxUnavailablePercentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newNodegroupUpdateConfig :: NodegroupUpdateConfig Source #

Create a value of NodegroupUpdateConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:maxUnavailable:NodegroupUpdateConfig', nodegroupUpdateConfig_maxUnavailable - The maximum number of nodes unavailable at once during a version update. Nodes will be updated in parallel. This value or maxUnavailablePercentage is required to have a value.The maximum number is 100.

$sel:maxUnavailablePercentage:NodegroupUpdateConfig', nodegroupUpdateConfig_maxUnavailablePercentage - The maximum percentage of nodes unavailable during a version update. This percentage of nodes will be updated in parallel, up to 100 nodes at once. This value or maxUnavailable is required to have a value.

nodegroupUpdateConfig_maxUnavailable :: Lens' NodegroupUpdateConfig (Maybe Natural) Source #

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

nodegroupUpdateConfig_maxUnavailablePercentage :: Lens' NodegroupUpdateConfig (Maybe Natural) Source #

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