Skip to content

Commit

Permalink
Try halving the CR sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaraphael committed Nov 22, 2023
1 parent 1f85a13 commit 1e497e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions stack/cloud_run_offset_tile.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
value=pulumi.Config("cerulean-cloud").require("apikey"),
),
],
resources=dict(limits=dict(memory="8Gi", cpu="2000m")),
resources=dict(limits=dict(memory="4Gi", cpu="1000m")),
),
],
timeout_seconds=300,
container_concurrency=3,
container_concurrency=1,
),
metadata=dict(
name=service_name + "-" + cloud_run_images.cloud_run_offset_tile_sha,
Expand Down
6 changes: 3 additions & 3 deletions stack/cloud_run_orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,17 @@
value=cloud_function_ais_analysis.fxn.https_trigger_url,
),
],
resources=dict(limits=dict(memory="8Gi", cpu="2000m")),
resources=dict(limits=dict(memory="4Gi", cpu="1000m")),
),
],
timeout_seconds=3540,
container_concurrency=15,
container_concurrency=1,
),
metadata=dict(
name=service_name + "-" + cloud_run_images.cloud_run_orchestrator_sha,
annotations={
"run.googleapis.com/cloudsql-instances": instance.connection_name,
"autoscaling.knative.dev/maxScale": "5",
"autoscaling.knative.dev/maxScale": "45",
},
),
),
Expand Down

0 comments on commit 1e497e1

Please sign in to comment.