elegant-secretary-74577
09/04/2024, 12:26 PMCurrent code for NodeGroup
// Create an EKS managed node group.
eks.createManagedNodeGroup(`${eksClusterName}-node-group`, {
cluster: cluster,
enableIMDSv2: true,
instanceTypes: [instanceType],
labels: {
ondemand: "true",
},
nodeGroupName: `${eksClusterName}-nodegroup`,
nodeRoleArn: cluster.instanceRoles[0].arn,
scalingConfig: {
desiredSize: desiredSize,
maxSize: maxSize,
minSize: minSize,
},
tags: tags,
taints:
serviceMesh == "cilium"
? [
{
key: "node.cilium.io/agent-not-ready",
value: "true",
effect: "NO_EXECUTE",
},
]
: [],
});
I instantiate argocd in this repo and have access to do a depends on argocd (but I can't have the nodegroup do this because argocd needs the nodegroup)hallowed-photographer-31251
09/04/2024, 4:25 PMelegant-secretary-74577
09/05/2024, 1:09 AM