oam-dev / spec

Open Application Model (OAM).
https://oam.dev
Other
3.04k stars 246 forks source link

[Standard Trait] Rollout trait for automatic rollout strategies #395

Closed resouer closed 3 years ago

resouer commented 4 years ago

The rolllout trait will abstract the common automatic rollout strategies including blue/green and canary.

Note that this is NOT traffic trait.

hongchaodeng commented 4 years ago

Another common use case is the ability to step by step rollout partitions of the pods. For example, there are 10 pods in total to rollout/upgrade, and each step will rollout 2 pods.

Something like:

stepping:
  replica: 2
  interval: 1m