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.Nodegroup

Description

 
Synopsis

Documentation

data Nodegroup Source #

An object representing an Amazon EKS managed node group.

See: newNodegroup smart constructor.

Constructors

Nodegroup' 

Fields

  • amiType :: Maybe AMITypes

    If the node group was deployed using a launch template with a custom AMI, then this is CUSTOM. For node groups that weren't deployed using a launch template, this is the AMI type that was specified in the node group configuration.

  • capacityType :: Maybe CapacityTypes

    The capacity type of your managed node group.

  • clusterName :: Maybe Text

    The name of the cluster that the managed node group resides in.

  • createdAt :: Maybe POSIX

    The Unix epoch timestamp in seconds for when the managed node group was created.

  • diskSize :: Maybe Int

    If the node group wasn't deployed with a launch template, then this is the disk size in the node group configuration. If the node group was deployed with a launch template, then this is null.

  • health :: Maybe NodegroupHealth

    The health status of the node group. If there are issues with your node group's health, they are listed here.

  • instanceTypes :: Maybe [Text]

    If the node group wasn't deployed with a launch template, then this is the instance type that is associated with the node group. If the node group was deployed with a launch template, then this is null.

  • labels :: Maybe (HashMap Text Text)

    The Kubernetes labels applied to the nodes in the node group.

    Only labels that are applied with the Amazon EKS API are shown here. There may be other Kubernetes labels applied to the nodes in this group.

  • launchTemplate :: Maybe LaunchTemplateSpecification

    If a launch template was used to create the node group, then this is the launch template that was used.

  • modifiedAt :: Maybe POSIX

    The Unix epoch timestamp in seconds for when the managed node group was last modified.

  • nodeRole :: Maybe Text

    The IAM role associated with your node group. The Amazon EKS node kubelet daemon makes calls to Amazon Web Services APIs on your behalf. Nodes receive permissions for these API calls through an IAM instance profile and associated policies.

  • nodegroupArn :: Maybe Text

    The Amazon Resource Name (ARN) associated with the managed node group.

  • nodegroupName :: Maybe Text

    The name associated with an Amazon EKS managed node group.

  • releaseVersion :: Maybe Text

    If the node group was deployed using a launch template with a custom AMI, then this is the AMI ID that was specified in the launch template. For node groups that weren't deployed using a launch template, this is the version of the Amazon EKS optimized AMI that the node group was deployed with.

  • remoteAccess :: Maybe RemoteAccessConfig

    If the node group wasn't deployed with a launch template, then this is the remote access configuration that is associated with the node group. If the node group was deployed with a launch template, then this is null.

  • resources :: Maybe NodegroupResources

    The resources associated with the node group, such as Auto Scaling groups and security groups for remote access.

  • scalingConfig :: Maybe NodegroupScalingConfig

    The scaling configuration details for the Auto Scaling group that is associated with your node group.

  • status :: Maybe NodegroupStatus

    The current status of the managed node group.

  • subnets :: Maybe [Text]

    The subnets that were specified for the Auto Scaling group that is associated with your node group.

  • tags :: Maybe (HashMap Text Text)

    The metadata applied to the node group to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Node group tags do not propagate to any other resources associated with the node group, such as the Amazon EC2 instances or subnets.

  • taints :: Maybe [Taint]

    The Kubernetes taints to be applied to the nodes in the node group when they are created. Effect is one of No_Schedule, Prefer_No_Schedule, or No_Execute. Kubernetes taints can be used together with tolerations to control how workloads are scheduled to your nodes. For more information, see Node taints on managed node groups.

  • updateConfig :: Maybe NodegroupUpdateConfig

    The node group update configuration.

  • version :: Maybe Text

    The Kubernetes version of the managed node group.

Instances

Instances details
FromJSON Nodegroup Source # 
Instance details

Defined in Amazonka.EKS.Types.Nodegroup

Generic Nodegroup Source # 
Instance details

Defined in Amazonka.EKS.Types.Nodegroup

Associated Types

type Rep Nodegroup :: Type -> Type #

Read Nodegroup Source # 
Instance details

Defined in Amazonka.EKS.Types.Nodegroup

Show Nodegroup Source # 
Instance details

Defined in Amazonka.EKS.Types.Nodegroup

NFData Nodegroup Source # 
Instance details

Defined in Amazonka.EKS.Types.Nodegroup

Methods

rnf :: Nodegroup -> () #

Eq Nodegroup Source # 
Instance details

Defined in Amazonka.EKS.Types.Nodegroup

Hashable Nodegroup Source # 
Instance details

Defined in Amazonka.EKS.Types.Nodegroup

type Rep Nodegroup Source # 
Instance details

Defined in Amazonka.EKS.Types.Nodegroup

type Rep Nodegroup = D1 ('MetaData "Nodegroup" "Amazonka.EKS.Types.Nodegroup" "amazonka-eks-2.0-7cAibD4zEbE2zPO6gnUh5m" 'False) (C1 ('MetaCons "Nodegroup'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "amiType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AMITypes)) :*: S1 ('MetaSel ('Just "capacityType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CapacityTypes))) :*: (S1 ('MetaSel ('Just "clusterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "diskSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "health") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodegroupHealth)) :*: (S1 ('MetaSel ('Just "instanceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "labels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "launchTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateSpecification)) :*: (S1 ('MetaSel ('Just "modifiedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "nodeRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "nodegroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nodegroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "releaseVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "remoteAccess") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RemoteAccessConfig)) :*: (S1 ('MetaSel ('Just "resources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodegroupResources)) :*: S1 ('MetaSel ('Just "scalingConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodegroupScalingConfig))))) :*: ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodegroupStatus)) :*: (S1 ('MetaSel ('Just "subnets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "taints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Taint])) :*: (S1 ('MetaSel ('Just "updateConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodegroupUpdateConfig)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))))

newNodegroup :: Nodegroup Source #

Create a value of Nodegroup 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:amiType:Nodegroup', nodegroup_amiType - If the node group was deployed using a launch template with a custom AMI, then this is CUSTOM. For node groups that weren't deployed using a launch template, this is the AMI type that was specified in the node group configuration.

$sel:capacityType:Nodegroup', nodegroup_capacityType - The capacity type of your managed node group.

$sel:clusterName:Nodegroup', nodegroup_clusterName - The name of the cluster that the managed node group resides in.

$sel:createdAt:Nodegroup', nodegroup_createdAt - The Unix epoch timestamp in seconds for when the managed node group was created.

$sel:diskSize:Nodegroup', nodegroup_diskSize - If the node group wasn't deployed with a launch template, then this is the disk size in the node group configuration. If the node group was deployed with a launch template, then this is null.

$sel:health:Nodegroup', nodegroup_health - The health status of the node group. If there are issues with your node group's health, they are listed here.

$sel:instanceTypes:Nodegroup', nodegroup_instanceTypes - If the node group wasn't deployed with a launch template, then this is the instance type that is associated with the node group. If the node group was deployed with a launch template, then this is null.

$sel:labels:Nodegroup', nodegroup_labels - The Kubernetes labels applied to the nodes in the node group.

Only labels that are applied with the Amazon EKS API are shown here. There may be other Kubernetes labels applied to the nodes in this group.

$sel:launchTemplate:Nodegroup', nodegroup_launchTemplate - If a launch template was used to create the node group, then this is the launch template that was used.

$sel:modifiedAt:Nodegroup', nodegroup_modifiedAt - The Unix epoch timestamp in seconds for when the managed node group was last modified.

$sel:nodeRole:Nodegroup', nodegroup_nodeRole - The IAM role associated with your node group. The Amazon EKS node kubelet daemon makes calls to Amazon Web Services APIs on your behalf. Nodes receive permissions for these API calls through an IAM instance profile and associated policies.

$sel:nodegroupArn:Nodegroup', nodegroup_nodegroupArn - The Amazon Resource Name (ARN) associated with the managed node group.

$sel:nodegroupName:Nodegroup', nodegroup_nodegroupName - The name associated with an Amazon EKS managed node group.

$sel:releaseVersion:Nodegroup', nodegroup_releaseVersion - If the node group was deployed using a launch template with a custom AMI, then this is the AMI ID that was specified in the launch template. For node groups that weren't deployed using a launch template, this is the version of the Amazon EKS optimized AMI that the node group was deployed with.

$sel:remoteAccess:Nodegroup', nodegroup_remoteAccess - If the node group wasn't deployed with a launch template, then this is the remote access configuration that is associated with the node group. If the node group was deployed with a launch template, then this is null.

$sel:resources:Nodegroup', nodegroup_resources - The resources associated with the node group, such as Auto Scaling groups and security groups for remote access.

$sel:scalingConfig:Nodegroup', nodegroup_scalingConfig - The scaling configuration details for the Auto Scaling group that is associated with your node group.

$sel:status:Nodegroup', nodegroup_status - The current status of the managed node group.

$sel:subnets:Nodegroup', nodegroup_subnets - The subnets that were specified for the Auto Scaling group that is associated with your node group.

$sel:tags:Nodegroup', nodegroup_tags - The metadata applied to the node group to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Node group tags do not propagate to any other resources associated with the node group, such as the Amazon EC2 instances or subnets.

$sel:taints:Nodegroup', nodegroup_taints - The Kubernetes taints to be applied to the nodes in the node group when they are created. Effect is one of No_Schedule, Prefer_No_Schedule, or No_Execute. Kubernetes taints can be used together with tolerations to control how workloads are scheduled to your nodes. For more information, see Node taints on managed node groups.

$sel:updateConfig:Nodegroup', nodegroup_updateConfig - The node group update configuration.

Nodegroup, nodegroup_version - The Kubernetes version of the managed node group.

nodegroup_amiType :: Lens' Nodegroup (Maybe AMITypes) Source #

If the node group was deployed using a launch template with a custom AMI, then this is CUSTOM. For node groups that weren't deployed using a launch template, this is the AMI type that was specified in the node group configuration.

nodegroup_capacityType :: Lens' Nodegroup (Maybe CapacityTypes) Source #

The capacity type of your managed node group.

nodegroup_clusterName :: Lens' Nodegroup (Maybe Text) Source #

The name of the cluster that the managed node group resides in.

nodegroup_createdAt :: Lens' Nodegroup (Maybe UTCTime) Source #

The Unix epoch timestamp in seconds for when the managed node group was created.

nodegroup_diskSize :: Lens' Nodegroup (Maybe Int) Source #

If the node group wasn't deployed with a launch template, then this is the disk size in the node group configuration. If the node group was deployed with a launch template, then this is null.

nodegroup_health :: Lens' Nodegroup (Maybe NodegroupHealth) Source #

The health status of the node group. If there are issues with your node group's health, they are listed here.

nodegroup_instanceTypes :: Lens' Nodegroup (Maybe [Text]) Source #

If the node group wasn't deployed with a launch template, then this is the instance type that is associated with the node group. If the node group was deployed with a launch template, then this is null.

nodegroup_labels :: Lens' Nodegroup (Maybe (HashMap Text Text)) Source #

The Kubernetes labels applied to the nodes in the node group.

Only labels that are applied with the Amazon EKS API are shown here. There may be other Kubernetes labels applied to the nodes in this group.

nodegroup_launchTemplate :: Lens' Nodegroup (Maybe LaunchTemplateSpecification) Source #

If a launch template was used to create the node group, then this is the launch template that was used.

nodegroup_modifiedAt :: Lens' Nodegroup (Maybe UTCTime) Source #

The Unix epoch timestamp in seconds for when the managed node group was last modified.

nodegroup_nodeRole :: Lens' Nodegroup (Maybe Text) Source #

The IAM role associated with your node group. The Amazon EKS node kubelet daemon makes calls to Amazon Web Services APIs on your behalf. Nodes receive permissions for these API calls through an IAM instance profile and associated policies.

nodegroup_nodegroupArn :: Lens' Nodegroup (Maybe Text) Source #

The Amazon Resource Name (ARN) associated with the managed node group.

nodegroup_nodegroupName :: Lens' Nodegroup (Maybe Text) Source #

The name associated with an Amazon EKS managed node group.

nodegroup_releaseVersion :: Lens' Nodegroup (Maybe Text) Source #

If the node group was deployed using a launch template with a custom AMI, then this is the AMI ID that was specified in the launch template. For node groups that weren't deployed using a launch template, this is the version of the Amazon EKS optimized AMI that the node group was deployed with.

nodegroup_remoteAccess :: Lens' Nodegroup (Maybe RemoteAccessConfig) Source #

If the node group wasn't deployed with a launch template, then this is the remote access configuration that is associated with the node group. If the node group was deployed with a launch template, then this is null.

nodegroup_resources :: Lens' Nodegroup (Maybe NodegroupResources) Source #

The resources associated with the node group, such as Auto Scaling groups and security groups for remote access.

nodegroup_scalingConfig :: Lens' Nodegroup (Maybe NodegroupScalingConfig) Source #

The scaling configuration details for the Auto Scaling group that is associated with your node group.

nodegroup_status :: Lens' Nodegroup (Maybe NodegroupStatus) Source #

The current status of the managed node group.

nodegroup_subnets :: Lens' Nodegroup (Maybe [Text]) Source #

The subnets that were specified for the Auto Scaling group that is associated with your node group.

nodegroup_tags :: Lens' Nodegroup (Maybe (HashMap Text Text)) Source #

The metadata applied to the node group to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Node group tags do not propagate to any other resources associated with the node group, such as the Amazon EC2 instances or subnets.

nodegroup_taints :: Lens' Nodegroup (Maybe [Taint]) Source #

The Kubernetes taints to be applied to the nodes in the node group when they are created. Effect is one of No_Schedule, Prefer_No_Schedule, or No_Execute. Kubernetes taints can be used together with tolerations to control how workloads are scheduled to your nodes. For more information, see Node taints on managed node groups.

nodegroup_updateConfig :: Lens' Nodegroup (Maybe NodegroupUpdateConfig) Source #

The node group update configuration.

nodegroup_version :: Lens' Nodegroup (Maybe Text) Source #

The Kubernetes version of the managed node group.