Skip to content

Commit

Permalink
Deploy to 1st gen, 512MB
Browse files Browse the repository at this point in the history
  • Loading branch information
cybermaggedon committed Oct 6, 2024
1 parent ce7f231 commit ab5b823
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pulumi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ const service = new gcp.cloudrun.Service(
"autoscaling.knative.dev/maxScale": maxScale,

// 2nd generation. Need to specify at least 512MB RAM.
"run.googleapis.com/execution-environment": "gen2",
// Going back to gen1 because faster cold starts
"run.googleapis.com/execution-environment": "gen1",

}
},
Expand All @@ -155,7 +156,7 @@ const service = new gcp.cloudrun.Service(
resources: {
limits: {
cpu: "1000m",
memory: "1024Mi",
memory: "512Mi",
}
},
}
Expand Down

0 comments on commit ab5b823

Please sign in to comment.