This message was deleted.
# kubernetes
s
This message was deleted.
c
it's a bit difficult to follow the code blocks above... have you tried something like (untested):
Copy code
eks_cluster = Cluster(
  'name',
  node_group_options={
    min_size=0,
    max_size=0,
    desired_capacity=0
  },
  ...
)

ng1 = NodeGroup(
  'name',
  cluster=eks_cluster,
  ...
)
p
the issue i was facing is that i prebuilt a dict of the node_group_options and passed them in to the instantiation of both the nodegroup and the cluster
i have changed the code now to first create the cluster using the node_group_options_dict and then add the cluster reference to node_group_options_dict and then create the node_group