magnificent-battery-62880
12/09/2021, 4:24 PMeks = Cluster(
'eks-locust',
vpc_id=vpc.id,
public_subnet_ids=[subnet.id for subnet in dmz_subnets],
private_subnet_ids=[subnet.id for subnet in private_subnets],
cluster_security_group=sg,
kubernetes_service_ip_address_range='192.168.0.0/16',
vpc_cni_options=VpcCniOptionsArgs(cni_custom_network_cfg=True),
node_group_options=ClusterNodeGroupOptionsArgs(
min_size=2,
max_size=150,
node_associate_public_ip_address=False,
node_security_group=sg),
provider_credential_opts=KubeconfigOptionsArgs(
profile_name='671822246166_Admin'),
tags=common_tags
)
but I keep getting the error
Setting nodeGroupOptions, and any set of singular node group option(s) on the cluster, is mutually exclusive. Choose a single approach.I read through the source and can't figure out what's conflicting with
node_group_options
, anyone got any ideas what I'm doing wrong?
https://github.com/pulumi/pulumi-eks/blob/master/nodejs/eks/cluster.ts#L361-L375witty-candle-66007
12/09/2021, 5:39 PMnutritious-tent-64795
12/14/2021, 12:02 AMmagnificent-battery-62880
12/14/2021, 2:18 PMworried-xylophone-86184
02/13/2022, 4:22 PM