Skip to content

Commit

Permalink
chore: limit max instances (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumachan-mis authored Jan 7, 2024
1 parent 1220475 commit 3814f48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ steps:
"gcr.io/$PROJECT_ID/$_SERVICE_NAME:$TAG_NAME",
"--region",
"$_REGION",
"--max-instances",
"$_MAX_INSTANCES",
]

images:
Expand All @@ -36,6 +38,7 @@ images:
substitutions:
_SERVICE_NAME: knodeledge-api
_REGION: us-central1
_MAX_INSTANCES: 1

options:
logging: CLOUD_LOGGING_ONLY

0 comments on commit 3814f48

Please sign in to comment.