Skip to content

Commit

Permalink
Don't specify a storage class - AWS creates one (pulumi#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
devotee101 committed May 3, 2020
1 parent 610044d commit 8690979
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aws-ts-eks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ import * as eks from "@pulumi/eks";
// Create a VPC for our cluster.
const vpc = new awsx.ec2.Vpc("vpc", { numberOfAvailabilityZones: 2 });

// Create the EKS cluster itself, including a "gp2"-backed StorageClass and a deployment of the Kubernetes dashboard.
// Create the EKS cluster itself and a deployment of the Kubernetes dashboard.
const cluster = new eks.Cluster("cluster", {
vpcId: vpc.id,
subnetIds: vpc.publicSubnetIds,
instanceType: "t2.medium",
desiredCapacity: 2,
minSize: 1,
maxSize: 2,
storageClasses: "gp2",
deployDashboard: true,
});

Expand Down

0 comments on commit 8690979

Please sign in to comment.