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.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by