https://pulumi.com logo
#aws
Title
# aws
v

victorious-dusk-75271

09/03/2022, 1:46 PM
I am trying to create nodegroup for EKS using
@pulumi/eks
, even pulumi creating resources such as ec2 LaunchConfiguration and stuff. its not showing up on the cluster's node group
Copy code
new eks.NodeGroup(`${name}-ng-1`, {
            cluster: cluster,
            labels: { preemptible: 'true' },
            instanceType: "t2.medium",
            desiredCapacity: 2,
            minSize: 2,
            maxSize: 5,
            instanceProfile: instanceProfile,
            nodeSubnetIds: args.privateSubnetIds,
            nodeRootVolumeSize: 30,
            autoScalingGroupTags: this.cluster.core.cluster.name.apply(clusterName => ({
                "<http://k8s.io/cluster-autoscaler/enabled|k8s.io/cluster-autoscaler/enabled>": "true",
                [`<http://k8s.io/cluster-autoscaler/${clusterName}`|k8s.io/cluster-autoscaler/${clusterName}`>]: "true",
            })),
        }, { provider: opts?.provider, parent: cluster })
I dont know how to debug this issue
v

victorious-church-57397

09/03/2022, 2:44 PM
For some reason it doesn't show up as a node group in the console but you should see the nodes there in the compute tab. Also running
kubectl get nodes
you will see them
v

victorious-dusk-75271

09/03/2022, 2:49 PM
oh thats strange. thanks