aloof-dress-1001
05/01/2022, 11:35 AMeks_node_group = aws.eks.NodeGroup(
'eks-node-group',
cluster_name=eks_cluster,
node_group_name='pulumi-eks-nodegroup',
node_role_arn=iam.ec2_role.arn,
opts=pulumi.ResourceOptions(depends_on=[eks_cluster]),
subnet_ids=[
vpc.subnet_ids[1],
vpc.subnet_ids[2],
],
tags={
'Name': 'pulumi-cluster-nodeGroup',
},
scaling_config=aws.eks.NodeGroupScalingConfigArgs(
desired_size=2,
max_size=10,
min_size=1,
),
)
as of now, the scaling does not happen when the node reaches high cpu usage, so we need to add one node manually. can someone help me figure out how to create the scaling the right way? in a managed node group im not using any launch templates that are using an auto scaling group.