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.
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