diff --git a/.gitignore b/.gitignore index ac383d313..28df32140 100644 --- a/.gitignore +++ b/.gitignore @@ -377,5 +377,6 @@ $RECYCLE.BIN/ *.swp cdk.context.json package-lock.json +yarn.lock .cdk.staging cdk.out diff --git a/typescript/eks/cluster/index.ts b/typescript/eks/cluster/index.ts index 9c3601f58..95b84fee4 100644 --- a/typescript/eks/cluster/index.ts +++ b/typescript/eks/cluster/index.ts @@ -18,7 +18,8 @@ class EKSCluster extends cdk.Stack { const eksCluster = new eks.Cluster(this, 'Cluster', { vpc: vpc, kubectlEnabled: true, // we want to be able to manage k8s resources using CDK - defaultCapacity: 0 // we want to manage capacity our selves + defaultCapacity: 0, // we want to manage capacity our selves + version: eks.KubernetesVersion.V1_16, }); const onDemandASG = new autoscaling.AutoScalingGroup(this, 'OnDemandASG', {