mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-17 06:46:47 +00:00
* rollout controller use last target as source and add whole process e2e-test * modify makefile use regex include all rollout related test * add example * fix golint * more wait time * pending pod may let rollout stock in rollingBatches * fix docs and tests comments modify docs example modify cue and yaml * less pod in test avoid pod pending
18 lines
419 B
YAML
18 lines
419 B
YAML
apiVersion: core.oam.dev/v1beta1
|
|
kind: Application
|
|
metadata:
|
|
name: rollout-trait-test
|
|
namespace: rollout-trait-test
|
|
spec:
|
|
components:
|
|
- name: express-server
|
|
type: webservice
|
|
properties:
|
|
image: stefanprodan/podinfo:4.0.3
|
|
traits:
|
|
- type: rollout
|
|
properties:
|
|
targetSize: 5
|
|
rolloutBatches:
|
|
- replicas: 2
|
|
- replicas: 3 |