I have been searching around gcloud documentations and around the web but could not find the way to set configurations for gcloud app services' version.
It has been done in my other project but I have forgotten how to update it again. What I wanted to do was to set maximum versions limit on single service - for example:
So that it only keeps up to 10 (for example) in the versions list, and also set to ignore certain version (for example, do not delete version "maintenance")
this is my app.yaml
env: flex
runtime: nodejs
service: application-one
resources:
memory_gb: 4.0
disk_size_gb: 10
manual_scaling:
instances: 1
env_variables:
NODE_ENV: 'prod'
APIHOST: 'http://10.146.0.1:32100'
On GCP documentation, it did mention about the maximum number of services and versions that we can deploy depends on your app's pricing, but I couldn't find out how to set max versions per app again.
Does anyone have the documentation or any idea what the command is?



