cdk-eks-blueprints icon indicating copy to clipboard operation
cdk-eks-blueprints copied to clipboard

GenericClusterProps:managedNodeGroups desiredSize not matching in console

Open ohschmidty opened this issue 3 years ago • 2 comments

Describe the bug

In my GenericClusterProviderProps I specified a desiredSize for my managedNodeGroups to 4. After deploying the EKS console shows 3 not 4 EC2 instances.

Expected Behavior

The desiredSize should match in the EKS console

Current Behavior

Currently the count of EC2 managed nodes are off by one.

Reproduction Steps

const clusterProvider = new blueprints.GenericClusterProvider({ version: KubernetesVersion.V1_21, serviceIpv4Cidr: "10.43.0.0/16" managedNodeGroups: [ { id: "mng1", amiType: NodegroupAmiType.AL2_X86_64, instanceTypes: [new InstanceType('m5.2xlarge')], minSize: 1, maxSize: 10 desiredSize: 4 } ] }

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.20

EKS Blueprints Version

1.0.0

Node.js Version

16

Environment details (OS name and version, etc.)

MacOS

Other information

No response

ohschmidty avatar Jun 09 '22 20:06 ohschmidty

@daveschmidt86 thank you for submitting the issue. I was not able to reproduce it with the versions you specified. Tried with 1.0.0 and 1.0.1 and different CDK versions as well. There may be an issue related to the project setup that we can review.

shapirov103 avatar Jun 14 '22 04:06 shapirov103

@daveschmidt86 were you able to reproduce this after the initial occurence?

shapirov103 avatar Jul 28 '22 04:07 shapirov103

@daveschmidt86 Closing this issue as we have not heard back in 4 months. We couldnt reproduce the issue, if you still face issues, reopen the ticket.

elamaran11 avatar Oct 12 '23 12:10 elamaran11