Rollout Plan
In this documentation, we will show how to use the rollout plan to rolling update an application.
Though KubeVela also provides a rolling style update mechanism, you can specify the in application to do so.
Example
User can modify the application container command and apply
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
spec:
components:
type: worker
properties:
cmd:
- ./podinfo
image: stefanprodan/podinfo:4.0.6
rolloutPlan:
rolloutStrategy: "IncreaseFirst"
rolloutBatches:
- replicas: 50%
- replicas: 50%