You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting the min_capacity parameter in the EKS module, you may encounter errors with the following (or similar) messages: InvalidParameterException: Minimum capacity 3 can't be greater than desired size 2
If desired_capacity is not equal to or greater than min_capacity, an error as above will be thrown.
This is the result of the EKS module not updating the configuration of the underlying EKS node group's autoscaling parameters, which is an intentional choice on the part of the module maintainers.
If you encounter this error, you can update the node group's desired size using the following AWS CLI command: aws eks update-nodegroup-config --cluster-name [EKS cluster name] --nodegroup-name [nodegroup name] --scaling-config desiredSize=[value of min_capacity]
The same change can be effected by using the AWS console, under EKS -> Clusters -> [select EKS cluster] -> Compute Tab -> Nodegroups -> [select nodegroup] -> Edit.
This will update the configuration of the nodegroup's autoscaling parameters, and subsequent terraform applies should not throw this error. For more information, please see: terraform-aws-modules/terraform-aws-eks#835 (comment)
The text was updated successfully, but these errors were encountered:
When setting the
min_capacity
parameter in the EKS module, you may encounter errors with the following (or similar) messages:InvalidParameterException: Minimum capacity 3 can't be greater than desired size 2
If
desired_capacity
is not equal to or greater thanmin_capacity
, an error as above will be thrown.This is the result of the EKS module not updating the configuration of the underlying EKS node group's autoscaling parameters, which is an intentional choice on the part of the module maintainers.
If you encounter this error, you can update the node group's desired size using the following AWS CLI command:
aws eks update-nodegroup-config --cluster-name [EKS cluster name] --nodegroup-name [nodegroup name] --scaling-config desiredSize=[value of min_capacity]
The same change can be effected by using the AWS console, under EKS -> Clusters -> [select EKS cluster] -> Compute Tab -> Nodegroups -> [select nodegroup] -> Edit.
This will update the configuration of the nodegroup's autoscaling parameters, and subsequent terraform applies should not throw this error. For more information, please see: terraform-aws-modules/terraform-aws-eks#835 (comment)
The text was updated successfully, but these errors were encountered: