damp-pillow-67781
01/28/2019, 11:26 PMcreating urn:pulumi:online-sandbox-3-vpc-0d18addcc5815ae23::eks-cluster::eks:index:Cluster$aws:cloudformation/stack:Stack::online-sandbox-3-eks-cluster-nodes: ROLLBACK_COMPLETE: ["The following resource(s) failed to create: [NodeGroup]. . Rollback requested by user." "Desired capacity:2 must be between the specified min size:5 and max size:50 (Service: AmazonAutoScaling; Status Code: 400; Error Code: ValidationError; Request ID: 11dbc817-2351-11e9-b1a7-a7ac0bb420e5)"]
gentle-diamond-70147
01/28/2019, 11:33 PMdesiredCapacity
is 2 per https://pulumi.io/reference/pkg/nodejs/@pulumi/eks/index.html#ClusterNodeGroupOptions-desiredCapacitydamp-pillow-67781
01/28/2019, 11:39 PMconst cluster = new eks.Cluster(environment+"-eks-cluster", {
vpcId : config.require("vpc-id"),
subnetIds : vpcSubnetIds,
instanceType : "m4.4xlarge",
nodePublicKey : workerNodePublicKey,
nodeRootVolumeSize: 200,
desiredCapacity : config.requireNumber("desired-nodes"),
maxSize : config.requireNumber("max-nodes"),
minSize : config.requireNumber("min-nodes"),
nodeUserData : userData,
deployDashboard : false,
vpcCniOptions : {
warmIpTarget : 4,
},
config:
aws:region: us-west-2
eks-cluster:environment: online-sandbox-3
eks-cluster:vpc-id: vpc-0d18addcc5815ae23
eks-cluster:subnet-ids: "subnet-040312c4bd4836a90,subnet-07a1b54cd79533b16,subnet-0eeccdb78d257cb01,subnet-0f8f3adca0c1cdae6"
eks-cluster:worker-ssh-key: sdp_at_tableau_dot_com.ssh.key.pub
eks-cluster:aws-iam-stack: "tableau/mustang-aws-iam-sandbox"
eks-cluster:max-nodes: 50
eks-cluster:min-nodes: 5
eks-cluster:desired-nodes: 5
splunk:indexName: online_sandbox
splunk:sourcetypePrefix: "online:tas:kubernetes"
splunk:deploymentServer: "<http://splunkds.tableausandbox.com:8089|splunkds.tableausandbox.com:8089>"
prometheus:frontend: <http://prometheus.online-sandbox-3.online.dev.tabint.net|prometheus.online-sandbox-3.online.dev.tabint.net>
grafana:frontend: <http://grafana.online-sandbox-3.online.dev.tabint.net|grafana.online-sandbox-3.online.dev.tabint.net>
gentle-diamond-70147
01/28/2019, 11:48 PMdesiredCapacity: 5
to see if that changes the behavior? also, what version of @pulumi/eks
are you depending on?damp-pillow-67781
01/28/2019, 11:49 PM@pulumi/eks
0.16.5
desiredCapacity: 5
* creating urn:pulumi:online-sandbox-3-vpc-0d18addcc5815ae23::eks-cluster::eks:index:Cluster$aws:cloudformation/stack:Stack::online-sandbox-3-eks-cluster-nodes: ROLLBACK_COMPLETE: ["The following resource(s) failed to create: [NodeGroup]. . Rollback requested by user." "Desired capacity:2 must be between the specified min size:5 and max size:50 (Service: AmazonAutoScaling; Status Code: 400; Error Code: ValidationError; Request ID: 4ce58920-235e-11e9-903c-399cd6f8a44d)"]
const cluster = new eks.Cluster(environment+"-eks-cluster", {
vpcId : config.require("vpc-id"),
subnetIds : vpcSubnetIds,
instanceType : "m4.4xlarge",
nodePublicKey : workerNodePublicKey,
nodeRootVolumeSize: 200,
//desiredCapacity : config.requireNumber("desired-nodes"),
desiredCapacity : 5,
maxSize : config.requireNumber("max-nodes"),
minSize : config.requireNumber("min-nodes"),
nodeUserData : userData,
deployDashboard : false,
vpcCniOptions : {
warmIpTarget : 4,
},
gentle-diamond-70147
01/29/2019, 4:16 AM@pulumi/eks
0.16.5
is new as of a week ago (https://github.com/pulumi/pulumi-eks/blob/master/CHANGELOG.md#0165-release-january-21st-2019) - you mentioned this was working before. Have you deployed successfully using 0.16.5 before?creamy-potato-29402
01/29/2019, 4:37 AMdamp-pillow-67781
01/29/2019, 6:27 PMgentle-diamond-70147
01/29/2019, 6:30 PMwhite-balloon-205
damp-pillow-67781
01/29/2019, 7:00 PMwhite-balloon-205
v0.16.6
.