sparse-intern-71089
02/14/2022, 3:52 AMworried-xylophone-86184
02/14/2022, 5:08 AMAWS Classic packagehas no option of adding, bootstrap commands at all. The best way over here would be to create an AMI based off of Amazon Linux 2 EKS optimized and then add the additional commands here
pulumi_eksAdd newly created NodeGroups to the cluster by following this article maybe? https://aws.amazon.com/premiumsupport/knowledge-center/eks-worker-nodes-cluster/
managed nodegroups in pulumi_eksSame approach as AWS Classic package. I ve checked out this file from AWS Classic: https://github.com/pulumi/pulumi-aws/blob/master/sdk/go/aws/eks/nodeGroup.go and this from pulumi_eks: https://github.com/pulumi/pulumi-eks/blob/master/nodejs/eks/nodegroup.ts#L832-L920 both places there is no provision to add additional commands to the user data
bored-table-20691
02/14/2022, 5:20 AMworried-xylophone-86184
02/14/2022, 5:33 AMpreBootstrapCommands
parameter.
Any how thank you for responding and confirming my doubts 🙂bored-table-20691
02/14/2022, 5:55 AMworried-xylophone-86184
02/14/2022, 6:27 AMwhether eksctl is just creating a launch template behind the scenesThis is how they do it. Its a part of the CloudFormation template that comes up when they are bringing up the NodeGroup.