bitter-island-28909
01/24/2019, 9:00 PMaws:ecs.TaskDefinition
and define all the apparatus myself?damp-pillow-67781
01/24/2019, 11:49 PMNAME PROVISIONER AGE
gp2 (default) <http://kubernetes.io/aws-ebs|kubernetes.io/aws-ebs> 6m
online-sandbox-yding-eks-cluster-gp2-vg7p51nj (default) <http://kubernetes.io/aws-ebs|kubernetes.io/aws-ebs> 4m
early-musician-41645
01/25/2019, 12:45 AMnew eks.Cluster
how can I add scaling policies, e.g. "scale up when average CPU utilization is > 70%" ?adventurous-kilobyte-12973
01/25/2019, 12:57 AMred-lamp-97876
01/25/2019, 3:03 PMsuper("azure:core/resourceGroup:ResourceGroup", name, inputs, opts);
.
Where does this id key come from?hundreds-dog-50002
01/25/2019, 4:55 PMpulumi up
?early-musician-41645
01/25/2019, 7:36 PMnew eks.Cluster
? E.g. the string that would appear in the list returned by aws eks list-clusters
bitter-island-28909
01/25/2019, 7:59 PMvar ctx = new util.PulumiContext().withProps( { tags: { Environment: pulumi.getStack() } });
// This bucket automatically has an Environment tag because it was created using the context defined above
let logs = ctx.r(aws.s3.Bucket, "logs", {
bucket: `logs-${pulumi.getStack()}-<http://.myapp.com|.myapp.com>`
});
bitter-island-28909
01/25/2019, 7:59 PMfunction myCluster(ctx, name) {
ctx = ctx.withComponent("myorg:cluster", name)
.withProps({tags: { Cluster: name } });
// all resources created using this context now share a component, and all have the "Cluster" tag set
// note that if we passed in a context with the "Environment" tag it'll still have that, merged in nicely.
let primary = ctx.r(aws.ec2.Instance, "primary", {
instanceType: "t2.micro",
ami: "ami-xxxxxxxx"
});
let replicas = [];
for(var i=0; i <= 3; i++) {
replicas[i] = ctx.r(aws.ec2.Instance, `replica-${i}`,{
instanceType: "t2.micro",
ami: "ami-xxxxxxxx"
});
}
return {primary, replicas};
}
var cluster = myCluster(ctx, "testCluster");
millions-judge-24978
01/25/2019, 9:07 PMpulumi-cloud
for AWS Service
resource, and am getting constant diffs in my previews. It appears the only change is the tag for the docker image in the ECS task definition. I am making no changes to the dockerfile though, and it has contents that are not changing. What could be causing this?red-lamp-97876
01/25/2019, 9:36 PMPulumi.yaml
file and override the values if needed in the Pulumi.{stack}.yaml
?busy-umbrella-36067
01/25/2019, 9:56 PMbrainy-magician-83981
01/26/2019, 10:32 PMbrainy-magician-83981
01/26/2019, 10:34 PMorange-policeman-59119
01/27/2019, 12:34 AMorange-policeman-59119
01/27/2019, 12:34 AMwhite-balloon-205
brainy-magician-83981
01/28/2019, 4:53 AMsparse-intern-71089
01/28/2019, 5:06 AMbetter-rainbow-14549
01/28/2019, 12:41 PM~ kubernetes:extensions:Ingress reader-services-ingress updating error: No matching service found for ingress rule: "/"
better-rainbow-14549
01/28/2019, 12:42 PMgray-city-50684
01/28/2019, 2:20 PMpulumi up
it always fails with the error bellow. On second run of pulumi up
it succeeds.gray-city-50684
01/28/2019, 2:20 PMerror: Plan apply failed: Error creating/updating Managed Kubernetes Cluster "xxx" (Resource Group "yyy"): containerservice.ManagedClustersClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="ServicePrincipalNotFound" Message="Service principal clientID: a-b-c-d not found in Active Directory tenant e-f-g-h, Please see <https://aka.ms/acs-sp-help> for more details."
bitter-island-28909
01/28/2019, 3:28 PMfaint-motherboard-95438
01/28/2019, 4:40 PMbusy-umbrella-36067
01/28/2019, 6:20 PMearly-musician-41645
01/28/2019, 7:39 PMpulumi up
I get this:
Updating (tableau/online-sandbox-vpc-0d18addcc5815ae23):
Type Name Status Info
pulumi:pulumi:Stack eks-cluster-online-sandbox-vpc-0d18addcc5815ae23
- └─ aws:ec2:LaunchConfiguration online-sandbox-2-eks-cluster-nodeLaunchConfiguration **deleting failed** 1 error
Diagnostics:
aws:ec2:LaunchConfiguration (online-sandbox-2-eks-cluster-nodeLaunchConfiguration):
error: Plan apply failed: deleting urn:pulumi:online-sandbox-vpc-0d18addcc5815ae23::eks-cluster::eks:index:Cluster$aws:ec2/launchConfiguration:LaunchConfiguration::online-sandbox-2-eks-cluster-nodeLaunchConfiguration: ResourceInUse: Cannot delete launch configuration online-sandbox-2-eks-cluster-nodeLaunchConfiguration-dc81314 because it is attached to AutoScalingGroup online-sandbox-2-eks-cluster-6c6f620d-NodeGroup-132ENU1JW8B2B
status code: 400, request id: 596c44a8-2334-11e9-97f9-6729550f923e
and pulumi destroy
similarly fails:
Destroying (tableau/online-sandbox-vpc-0d18addcc5815ae23):
Type Name Status Info
pulumi:pulumi:Stack eks-cluster-online-sandbox-vpc-0d18addcc5815ae23
- └─ aws:ec2:LaunchConfiguration online-sandbox-2-eks-cluster-nodeLaunchConfiguration **deleting failed** 1 error
Diagnostics:
aws:ec2:LaunchConfiguration (online-sandbox-2-eks-cluster-nodeLaunchConfiguration):
error: Plan apply failed: deleting urn:pulumi:online-sandbox-vpc-0d18addcc5815ae23::eks-cluster::eks:index:Cluster$aws:ec2/launchConfiguration:LaunchConfiguration::online-sandbox-2-eks-cluster-nodeLaunchConfiguration: ResourceInUse: Cannot delete launch configuration online-sandbox-2-eks-cluster-nodeLaunchConfiguration-dc81314 because it is attached to AutoScalingGroup online-sandbox-2-eks-cluster-6c6f620d-NodeGroup-132ENU1JW8B2B
status code: 400, request id: 336158ed-2334-11e9-bcbc-199ef247c334
bitter-island-28909
01/28/2019, 8:02 PMred-lamp-97876
01/28/2019, 9:26 PMimpossible type assertion
. Any ideas?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)"]