thousands-librarian-6697
12/19/2024, 6:43 AMmanagedNodeGroupArgs = &eks.ManagedNodeGroupArgs{
KubeletExtraArgs: pulumi.StringRef(nodeGroupInfo.KubeletExtraArgs),
Cluster: eksClusterInfo,
DiskSize: pulumi.Int(nodeGroupInfo.ManagedNodeGroupDiskSize),
SubnetIds: subnetIds,
ScalingConfig: awseks.NodeGroupScalingConfigArgs{
DesiredSize: pulumi.Int(nodeGroupInfo.ManagedNodeGroupDesiredSize),
MaxSize: pulumi.Int(nodeGroupInfo.ManagedNodeGroupMaxSize),
MinSize: pulumi.Int(nodeGroupInfo.ManagedNodeGroupMinSize),
},
}
Hi, I am deploying an eks managed node group through pulumi - eks v3.
I have the code above, and I want to add user data that behaves like mkdir in the code here.
There is an option like NodeadmExtraOptions and I'm trying to use it, but I don't have an example.
Does anyone have any experience using that part?thousands-librarian-6697
12/19/2024, 7:07 AMmanagedNodeGroupArgs.NodeadmExtraOptions = &eks.NodeadmOptionsArray{
&eks.NodeadmOptionsArgs{
Content: pulumi.String("mkdir /test/123213"),
ContentType: pulumi.String(`text/x-shellscript; charset="us-ascii"`),
},
}
• I was looking at the code and found it. Just write it like above!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