Skip to content

Commit

Permalink
Fix Cloud Run autoscaling
Browse files Browse the repository at this point in the history
  • Loading branch information
danieltrolezi committed Oct 4, 2024
1 parent b10f630 commit a6c3509
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions gcp/cloud-run/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ metadata:
namespace: <GCP_PROJECT_ID>
spec:
template:
metadata:
annotations:
autoscaling.knative.dev/minScale: 1
autoscaling.knative.dev/maxScale: 2
spec:
minInstances: 1
maxInstances: 2
timeoutSeconds: 120
maxConcurrentRequests: 80
containers:
- name: octane
image: <DOCKER_IMAGE_OCTANE>
Expand Down

0 comments on commit a6c3509

Please sign in to comment.