A machine-readable index of this documentation for AI agents is available at https://kubevela.io/llms.txt. Markdown versions of documentation pages are available by appending .md to their URLs.
Skip to main content

rolling-release

Rolling workload with specified weight via kruise rollout. It's advisable not to use this trait directly. Instead, if you use the canary-deploy step, this trait will be added implicitly

Type: trait. From: the kruise-rollout addon.

Parameters​

weight int
Define the percentage of traffic routing to the new version in each step, e.g., 20, 40...
replicas (int or string)
Define the replicas of release to the new version in each step, e.g., 5, 10...
final bool default false
Declare whether the rolling reach end
rolloutType string default partition
Specifies the rollout type. Optional values: "partition", "canary". If not specify, the rolloutType is partition.
workloadType (2) Define the workload for rolling. If not specified, it will be auto detected.
apiVersion string required
kind string required