salmon-ghost-8621110/23/2020, 1:30 PM
but can also import others like aws/awsx.
If I create an EKS cluster and then create a node group with the cluster's
import * as eks from "@pulumi/eks";
function, it generates an Auto Scaling Group (ASG) to manage the number of instances in the cluster.
I would like to set some properties of the ASG such as enabledMetrics, but I am uncertain how to access the ASG that got created. The node group does have a property named
, so I should be able to access it as an output but I am not sure how.
function is a helper function to make creating the groups easier, we don't expose all the options from the cloudformation stack or the autoscaling group there.
If you want to do this, you'll unfortunately have to manually create the autoscaling group and set it there. You'll need to join the nodes to your EKS cluster using user data, like this:
salmon-ghost-8621110/23/2020, 4:47 PM
is exposed as a property of the node group, is it possible use that and a
function to get a reference to that object and then modify settings?
salmon-ghost-8621110/23/2020, 4:58 PM