We recommend new projects start with resources from the AWS provider.
aws-native.eks.getNodegroup
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource schema for AWS::EKS::Nodegroup
Using getNodegroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNodegroup(args: GetNodegroupArgs, opts?: InvokeOptions): Promise<GetNodegroupResult>
function getNodegroupOutput(args: GetNodegroupOutputArgs, opts?: InvokeOptions): Output<GetNodegroupResult>
def get_nodegroup(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNodegroupResult
def get_nodegroup_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNodegroupResult]
func LookupNodegroup(ctx *Context, args *LookupNodegroupArgs, opts ...InvokeOption) (*LookupNodegroupResult, error)
func LookupNodegroupOutput(ctx *Context, args *LookupNodegroupOutputArgs, opts ...InvokeOption) LookupNodegroupResultOutput
> Note: This function is named LookupNodegroup
in the Go SDK.
public static class GetNodegroup
{
public static Task<GetNodegroupResult> InvokeAsync(GetNodegroupArgs args, InvokeOptions? opts = null)
public static Output<GetNodegroupResult> Invoke(GetNodegroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNodegroupResult> getNodegroup(GetNodegroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:eks:getNodegroup
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getNodegroup Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) associated with the managed node group.
- Id string
- Labels Dictionary<string, string>
- The Kubernetes labels to be applied to the nodes in the node group when they are created.
- Launch
Template Pulumi.Aws Native. Eks. Outputs. Nodegroup Launch Template Specification - An object representing a node group's launch template specification.
- Node
Repair Pulumi.Config Aws Native. Eks. Outputs. Nodegroup Node Repair Config - The node auto repair configuration for node group.
- Release
Version string - The AMI version of the Amazon EKS-optimized AMI to use with your node group.
- Scaling
Config Pulumi.Aws Native. Eks. Outputs. Nodegroup Scaling Config - The scaling configuration details for the Auto Scaling group that is created for your node group.
- Dictionary<string, string>
- The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency.
- Taints
List<Pulumi.
Aws Native. Eks. Outputs. Nodegroup Taint> - The Kubernetes taints to be applied to the nodes in the node group when they are created.
- Update
Config Pulumi.Aws Native. Eks. Outputs. Nodegroup Update Config - The node group update configuration.
- Version string
- The Kubernetes version to use for your managed nodes.
- Arn string
- The Amazon Resource Name (ARN) associated with the managed node group.
- Id string
- Labels map[string]string
- The Kubernetes labels to be applied to the nodes in the node group when they are created.
- Launch
Template NodegroupLaunch Template Specification - An object representing a node group's launch template specification.
- Node
Repair NodegroupConfig Node Repair Config - The node auto repair configuration for node group.
- Release
Version string - The AMI version of the Amazon EKS-optimized AMI to use with your node group.
- Scaling
Config NodegroupScaling Config - The scaling configuration details for the Auto Scaling group that is created for your node group.
- map[string]string
- The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency.
- Taints
[]Nodegroup
Taint - The Kubernetes taints to be applied to the nodes in the node group when they are created.
- Update
Config NodegroupUpdate Config - The node group update configuration.
- Version string
- The Kubernetes version to use for your managed nodes.
- arn String
- The Amazon Resource Name (ARN) associated with the managed node group.
- id String
- labels Map<String,String>
- The Kubernetes labels to be applied to the nodes in the node group when they are created.
- launch
Template NodegroupLaunch Template Specification - An object representing a node group's launch template specification.
- node
Repair NodegroupConfig Node Repair Config - The node auto repair configuration for node group.
- release
Version String - The AMI version of the Amazon EKS-optimized AMI to use with your node group.
- scaling
Config NodegroupScaling Config - The scaling configuration details for the Auto Scaling group that is created for your node group.
- Map<String,String>
- The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency.
- taints
List<Nodegroup
Taint> - The Kubernetes taints to be applied to the nodes in the node group when they are created.
- update
Config NodegroupUpdate Config - The node group update configuration.
- version String
- The Kubernetes version to use for your managed nodes.
- arn string
- The Amazon Resource Name (ARN) associated with the managed node group.
- id string
- labels {[key: string]: string}
- The Kubernetes labels to be applied to the nodes in the node group when they are created.
- launch
Template NodegroupLaunch Template Specification - An object representing a node group's launch template specification.
- node
Repair NodegroupConfig Node Repair Config - The node auto repair configuration for node group.
- release
Version string - The AMI version of the Amazon EKS-optimized AMI to use with your node group.
- scaling
Config NodegroupScaling Config - The scaling configuration details for the Auto Scaling group that is created for your node group.
- {[key: string]: string}
- The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency.
- taints
Nodegroup
Taint[] - The Kubernetes taints to be applied to the nodes in the node group when they are created.
- update
Config NodegroupUpdate Config - The node group update configuration.
- version string
- The Kubernetes version to use for your managed nodes.
- arn str
- The Amazon Resource Name (ARN) associated with the managed node group.
- id str
- labels Mapping[str, str]
- The Kubernetes labels to be applied to the nodes in the node group when they are created.
- launch_
template NodegroupLaunch Template Specification - An object representing a node group's launch template specification.
- node_
repair_ Nodegroupconfig Node Repair Config - The node auto repair configuration for node group.
- release_
version str - The AMI version of the Amazon EKS-optimized AMI to use with your node group.
- scaling_
config NodegroupScaling Config - The scaling configuration details for the Auto Scaling group that is created for your node group.
- Mapping[str, str]
- The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency.
- taints
Sequence[Nodegroup
Taint] - The Kubernetes taints to be applied to the nodes in the node group when they are created.
- update_
config NodegroupUpdate Config - The node group update configuration.
- version str
- The Kubernetes version to use for your managed nodes.
- arn String
- The Amazon Resource Name (ARN) associated with the managed node group.
- id String
- labels Map<String>
- The Kubernetes labels to be applied to the nodes in the node group when they are created.
- launch
Template Property Map - An object representing a node group's launch template specification.
- node
Repair Property MapConfig - The node auto repair configuration for node group.
- release
Version String - The AMI version of the Amazon EKS-optimized AMI to use with your node group.
- scaling
Config Property Map - The scaling configuration details for the Auto Scaling group that is created for your node group.
- Map<String>
- The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency.
- taints List<Property Map>
- The Kubernetes taints to be applied to the nodes in the node group when they are created.
- update
Config Property Map - The node group update configuration.
- version String
- The Kubernetes version to use for your managed nodes.
Supporting Types
NodegroupLaunchTemplateSpecification
- Id string
The ID of the launch template.
You must specify either the launch template ID or the launch template name in the request, but not both.
- Name string
The name of the launch template.
You must specify either the launch template name or the launch template ID in the request, but not both.
- Version string
- The version number of the launch template to use. If no version is specified, then the template's default version is used.
- Id string
The ID of the launch template.
You must specify either the launch template ID or the launch template name in the request, but not both.
- Name string
The name of the launch template.
You must specify either the launch template name or the launch template ID in the request, but not both.
- Version string
- The version number of the launch template to use. If no version is specified, then the template's default version is used.
- id String
The ID of the launch template.
You must specify either the launch template ID or the launch template name in the request, but not both.
- name String
The name of the launch template.
You must specify either the launch template name or the launch template ID in the request, but not both.
- version String
- The version number of the launch template to use. If no version is specified, then the template's default version is used.
- id string
The ID of the launch template.
You must specify either the launch template ID or the launch template name in the request, but not both.
- name string
The name of the launch template.
You must specify either the launch template name or the launch template ID in the request, but not both.
- version string
- The version number of the launch template to use. If no version is specified, then the template's default version is used.
- id str
The ID of the launch template.
You must specify either the launch template ID or the launch template name in the request, but not both.
- name str
The name of the launch template.
You must specify either the launch template name or the launch template ID in the request, but not both.
- version str
- The version number of the launch template to use. If no version is specified, then the template's default version is used.
- id String
The ID of the launch template.
You must specify either the launch template ID or the launch template name in the request, but not both.
- name String
The name of the launch template.
You must specify either the launch template name or the launch template ID in the request, but not both.
- version String
- The version number of the launch template to use. If no version is specified, then the template's default version is used.
NodegroupNodeRepairConfig
- Enabled bool
- Set this value to true to enable node auto repair for the node group.
- Enabled bool
- Set this value to true to enable node auto repair for the node group.
- enabled Boolean
- Set this value to true to enable node auto repair for the node group.
- enabled boolean
- Set this value to true to enable node auto repair for the node group.
- enabled bool
- Set this value to true to enable node auto repair for the node group.
- enabled Boolean
- Set this value to true to enable node auto repair for the node group.
NodegroupScalingConfig
- Desired
Size int The current number of nodes that the managed node group should maintain.
If you use the Kubernetes Cluster Autoscaler , you shouldn't change the
desiredSize
value directly, as this can cause the Cluster Autoscaler to suddenly scale up or scale down.Whenever this parameter changes, the number of worker nodes in the node group is updated to the specified size. If this parameter is given a value that is smaller than the current number of running worker nodes, the necessary number of worker nodes are terminated to match the given value. When using CloudFormation, no action occurs if you remove this parameter from your CFN template.
This parameter can be different from
minSize
in some cases, such as when starting with extra hosts for testing. This parameter can also be different when you want to start with an estimated number of needed hosts, but let the Cluster Autoscaler reduce the number if there are too many. When the Cluster Autoscaler is used, thedesiredSize
parameter is altered by the Cluster Autoscaler (but can be out-of-date for short periods of time). the Cluster Autoscaler doesn't scale a managed node group lower thanminSize
or higher thanmaxSize
.- Max
Size int - The maximum number of nodes that the managed node group can scale out to. For information about the maximum number that you can specify, see Amazon EKS service quotas in the Amazon EKS User Guide .
- Min
Size int - The minimum number of nodes that the managed node group can scale in to.
- Desired
Size int The current number of nodes that the managed node group should maintain.
If you use the Kubernetes Cluster Autoscaler , you shouldn't change the
desiredSize
value directly, as this can cause the Cluster Autoscaler to suddenly scale up or scale down.Whenever this parameter changes, the number of worker nodes in the node group is updated to the specified size. If this parameter is given a value that is smaller than the current number of running worker nodes, the necessary number of worker nodes are terminated to match the given value. When using CloudFormation, no action occurs if you remove this parameter from your CFN template.
This parameter can be different from
minSize
in some cases, such as when starting with extra hosts for testing. This parameter can also be different when you want to start with an estimated number of needed hosts, but let the Cluster Autoscaler reduce the number if there are too many. When the Cluster Autoscaler is used, thedesiredSize
parameter is altered by the Cluster Autoscaler (but can be out-of-date for short periods of time). the Cluster Autoscaler doesn't scale a managed node group lower thanminSize
or higher thanmaxSize
.- Max
Size int - The maximum number of nodes that the managed node group can scale out to. For information about the maximum number that you can specify, see Amazon EKS service quotas in the Amazon EKS User Guide .
- Min
Size int - The minimum number of nodes that the managed node group can scale in to.
- desired
Size Integer The current number of nodes that the managed node group should maintain.
If you use the Kubernetes Cluster Autoscaler , you shouldn't change the
desiredSize
value directly, as this can cause the Cluster Autoscaler to suddenly scale up or scale down.Whenever this parameter changes, the number of worker nodes in the node group is updated to the specified size. If this parameter is given a value that is smaller than the current number of running worker nodes, the necessary number of worker nodes are terminated to match the given value. When using CloudFormation, no action occurs if you remove this parameter from your CFN template.
This parameter can be different from
minSize
in some cases, such as when starting with extra hosts for testing. This parameter can also be different when you want to start with an estimated number of needed hosts, but let the Cluster Autoscaler reduce the number if there are too many. When the Cluster Autoscaler is used, thedesiredSize
parameter is altered by the Cluster Autoscaler (but can be out-of-date for short periods of time). the Cluster Autoscaler doesn't scale a managed node group lower thanminSize
or higher thanmaxSize
.- max
Size Integer - The maximum number of nodes that the managed node group can scale out to. For information about the maximum number that you can specify, see Amazon EKS service quotas in the Amazon EKS User Guide .
- min
Size Integer - The minimum number of nodes that the managed node group can scale in to.
- desired
Size number The current number of nodes that the managed node group should maintain.
If you use the Kubernetes Cluster Autoscaler , you shouldn't change the
desiredSize
value directly, as this can cause the Cluster Autoscaler to suddenly scale up or scale down.Whenever this parameter changes, the number of worker nodes in the node group is updated to the specified size. If this parameter is given a value that is smaller than the current number of running worker nodes, the necessary number of worker nodes are terminated to match the given value. When using CloudFormation, no action occurs if you remove this parameter from your CFN template.
This parameter can be different from
minSize
in some cases, such as when starting with extra hosts for testing. This parameter can also be different when you want to start with an estimated number of needed hosts, but let the Cluster Autoscaler reduce the number if there are too many. When the Cluster Autoscaler is used, thedesiredSize
parameter is altered by the Cluster Autoscaler (but can be out-of-date for short periods of time). the Cluster Autoscaler doesn't scale a managed node group lower thanminSize
or higher thanmaxSize
.- max
Size number - The maximum number of nodes that the managed node group can scale out to. For information about the maximum number that you can specify, see Amazon EKS service quotas in the Amazon EKS User Guide .
- min
Size number - The minimum number of nodes that the managed node group can scale in to.
- desired_
size int The current number of nodes that the managed node group should maintain.
If you use the Kubernetes Cluster Autoscaler , you shouldn't change the
desiredSize
value directly, as this can cause the Cluster Autoscaler to suddenly scale up or scale down.Whenever this parameter changes, the number of worker nodes in the node group is updated to the specified size. If this parameter is given a value that is smaller than the current number of running worker nodes, the necessary number of worker nodes are terminated to match the given value. When using CloudFormation, no action occurs if you remove this parameter from your CFN template.
This parameter can be different from
minSize
in some cases, such as when starting with extra hosts for testing. This parameter can also be different when you want to start with an estimated number of needed hosts, but let the Cluster Autoscaler reduce the number if there are too many. When the Cluster Autoscaler is used, thedesiredSize
parameter is altered by the Cluster Autoscaler (but can be out-of-date for short periods of time). the Cluster Autoscaler doesn't scale a managed node group lower thanminSize
or higher thanmaxSize
.- max_
size int - The maximum number of nodes that the managed node group can scale out to. For information about the maximum number that you can specify, see Amazon EKS service quotas in the Amazon EKS User Guide .
- min_
size int - The minimum number of nodes that the managed node group can scale in to.
- desired
Size Number The current number of nodes that the managed node group should maintain.
If you use the Kubernetes Cluster Autoscaler , you shouldn't change the
desiredSize
value directly, as this can cause the Cluster Autoscaler to suddenly scale up or scale down.Whenever this parameter changes, the number of worker nodes in the node group is updated to the specified size. If this parameter is given a value that is smaller than the current number of running worker nodes, the necessary number of worker nodes are terminated to match the given value. When using CloudFormation, no action occurs if you remove this parameter from your CFN template.
This parameter can be different from
minSize
in some cases, such as when starting with extra hosts for testing. This parameter can also be different when you want to start with an estimated number of needed hosts, but let the Cluster Autoscaler reduce the number if there are too many. When the Cluster Autoscaler is used, thedesiredSize
parameter is altered by the Cluster Autoscaler (but can be out-of-date for short periods of time). the Cluster Autoscaler doesn't scale a managed node group lower thanminSize
or higher thanmaxSize
.- max
Size Number - The maximum number of nodes that the managed node group can scale out to. For information about the maximum number that you can specify, see Amazon EKS service quotas in the Amazon EKS User Guide .
- min
Size Number - The minimum number of nodes that the managed node group can scale in to.
NodegroupTaint
NodegroupUpdateConfig
- double
- 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.
- double
- 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.
- float64
- 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.
- float64
- 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.
- Double
- 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.
- Double
- 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.
- number
- 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.
- number
- 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.
- float
- 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.
- float
- 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.
- Number
- 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.
- Number
- 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.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.