Files
kubevela/docs/examples/deployment-rollout/app-rollout-scale.yaml
wyike 9a3c63a843 override initial replicas of workload in first scale operation (#1891)
* clean up some logic

rebase and reorder phase

add log and modify e2e-test

fix reviwable

fix comment

* fix condition relate comments

finish test func

fix formate error
2021-07-08 19:45:18 +08:00

14 lines
314 B
YAML

apiVersion: core.oam.dev/v1beta1
kind: AppRollout
metadata:
name: rolling-test
spec:
# application (revision) reference
targetAppRevisionName: test-rolling-v1
componentList:
- metrics-provider
rolloutPlan:
rolloutStrategy: "IncreaseFirst"
rolloutBatches:
- replicas: 5
targetSize: 5