I am trying to create nodegroup for EKS using `@pu...
# aws
v
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
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
oh thats strange. thanks