-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eks: managed node group allocatable pods number error #29418
Comments
The first two screenshots show 58. The second set shows 17, which is the limit for |
It will be 58 |
So it's behaving as expected ? 😀 |
If I only choose one, yes. But if I choose two, no. |
Right, because you are also specifying
If you want 58 allocable pods, only use |
@pahud yes, that's what I want to express |
I think it should be 17 according to that file. I am closing this issue as it doesn't seem to be a CDK bug. Feel free to reopen if there's any concern. |
|
Sorry for the confusion. What I meant to say is that if set within the same array, |
Describe the bug
When I use managed node group multiple instance types, I got wrong allocatable pods number, t3a.xlarge allocatable pods
should be 58 not 17
Expected Behavior
t3a.xlarge allocatable pods should be 58 not 17
Current Behavior
t3a.xlarge allocatable pods got 17
Reproduction Steps
const cluster = new eks.Cluster(scope, 'eks', {
version: eks.KubernetesVersion.V1_29,
kubectlLayer: new KubectlV29Layer(scope, 'kubectl'),
clusterName,
vpc,
vpcSubnets: [{ subnetType: ec2.SubnetType.PRIVATE_WITH_EGRESS }],
endpointAccess: eks.EndpointAccess.PRIVATE,
role: iam.eksRole(scope),
outputMastersRoleArn: true,
albController: { version: eks.AlbControllerVersion.V2_6_2 },
clusterLogging: [eks.ClusterLoggingTypes.AUTHENTICATOR],
defaultCapacity: 0,
securityGroup: Vpc.eksControlPlaneSecurityGroup(scope, vpc),
})
new eks.Nodegroup(scope,
${clusterName}-default-group
, {cluster,
diskSize: 20,
desiredSize: 2,
minSize: 0,
maxSize: 10,
nodeRole,
subnets: { subnetType: ec2.SubnetType.PRIVATE_WITH_EGRESS },
instanceTypes: [
new ec2.InstanceType('t3a.xlarge'),
new ec2.InstanceType('t3a.medium'),
],
tags: {
[
k8s.io/cluster-autoscaler/${clusterName}
]: 'owned',['k8s.io/cluster-autoscaler/enabled']: 'true',
Name:
${clusterName}-default-group
,},
})
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.128.0
Framework Version
No response
Node.js Version
20
OS
MacOS
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: