You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\node_modules\constructs\lib\construct.ts:487
throw new Error(There is already a Construct with name '${childName}' in ${typeName}${name.length > 0 ? ' [' + name + ']' : ''});
^
Error: There is already a Construct with name 'chart-spot-interrupt-handler' in Cluster [EKSCluster]
at Node.addChild (C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\node_modules\constructs\lib\construct.ts:487:13)
at new Node (C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\node_modules\constructs\lib\construct.ts:73:22)
at new ConstructNode (C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\node_modules@aws-cdk\core\lib\construct-compat.ts:266:24)
at Object.createNode (C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\node_modules@aws-cdk\core\lib\construct-compat.ts:71:11)
at new Construct (C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\node_modules\constructs\lib\construct.ts:528:26)
at new Construct (C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\node_modules@aws-cdk\core\lib\construct-compat.ts:68:5)
at new HelmChart (C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\lib\helm-chart.ts:77:5)
at Cluster.addChart (C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\lib\cluster.ts:650:12)
at Cluster.addAutoScalingGroup (C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\lib\cluster.ts:600:12)
at new PlatformEks (C:\dev\platform-cdk\lib\platform-eks.ts:55:20)
Environment
CLI Version : 1.34.1
Framework Version: 1.34.1
OS : Windows 10
Language : Typescript
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered:
Install only a single instance of the spot termination handler helm chart, even if there are multiple capacities or ASGs the use spot instances.
Fixes#7136Fixes#7524
Install only a single instance of the spot termination handler helm chart, even if there are multiple capacities or ASGs the use spot instances.
Fixes#7136Fixes#7524
iliapolo
changed the title
There is already a Construct with name 'chart-spot-interrupt-handler' in Cluster [EKSCluster]
[aws-eks] There is already a Construct with name 'chart-spot-interrupt-handler' in Cluster [EKSCluster]
Aug 16, 2020
Adding two autoscaling groups that are both spot will result in an error:
There is already a Construct with name 'chart-spot-interrupt-handler' in Cluster [EKSCluster]
The reason I would do this is if I need to create a worker node group with a taint set for special work loads.
Reproduction Steps
Error Log
C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\node_modules\constructs\lib\construct.ts:487
throw new Error(
There is already a Construct with name '${childName}' in ${typeName}${name.length > 0 ? ' [' + name + ']' : ''}
);^
Error: There is already a Construct with name 'chart-spot-interrupt-handler' in Cluster [EKSCluster]
at Node.addChild (C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\node_modules\constructs\lib\construct.ts:487:13)
at new Node (C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\node_modules\constructs\lib\construct.ts:73:22)
at new ConstructNode (C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\node_modules@aws-cdk\core\lib\construct-compat.ts:266:24)
at Object.createNode (C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\node_modules@aws-cdk\core\lib\construct-compat.ts:71:11)
at new Construct (C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\node_modules\constructs\lib\construct.ts:528:26)
at new Construct (C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\node_modules@aws-cdk\core\lib\construct-compat.ts:68:5)
at new HelmChart (C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\lib\helm-chart.ts:77:5)
at Cluster.addChart (C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\lib\cluster.ts:650:12)
at Cluster.addAutoScalingGroup (C:\dev\platform-cdk\node_modules@aws-cdk\aws-eks\lib\cluster.ts:600:12)
at new PlatformEks (C:\dev\platform-cdk\lib\platform-eks.ts:55:20)
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: