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

    1. User can modify the application container command and apply

      1. apiVersion: core.oam.dev/v1beta1
      2. kind: Application
      3. metadata:
      4. spec:
      5. components:
      6. type: worker
      7. properties:
      8. cmd:
      9. - ./podinfo
      10. image: stefanprodan/podinfo:4.0.6
      11. rolloutPlan:
      12. rolloutStrategy: "IncreaseFirst"
      13. rolloutBatches:
      14. - replicas: 50%
      15. - replicas: 50%