I have deployed one service on App Engine Flex with manual scaling 
configuration. If I deploy a new version with below command then it 
expected to stop the previous version and split all traffic to the newer 
version. But It can't do that and all traffic still serving by existing 
version only.

*gcloud app deploy src/main/appengine/app.yaml --image-url 
gcr.io/$PROJECT_ID/my-services-xxx:187 --promote --stop-previous-version 
--version=187*

app.yaml file (to verify it is manual scaling service) : 

runtime: java
env: flex

service: my-service-xxx

runtime_config:  # Optional
  jdk: openjdk8

handlers:
- url: /.*
  script: this field is required, but ignored

manual_scaling:
  instances: 1

resources:
  cpu: 1
  memory_gb: 2
  disk_size_gb: 10

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/bd304061-3864-4adf-8ae1-a2e27dd6507e%40googlegroups.com.
  • [google-appengine] ... Rahul Goti

Reply via email to