mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
Add promotion step weight to Canary CRD
This commit is contained in:
@@ -562,7 +562,10 @@ spec:
|
||||
description: Max traffic percentage routed to canary
|
||||
type: number
|
||||
stepWeight:
|
||||
description: Incremental traffic percentage step
|
||||
description: Incremental traffic percentage step for the analysis phase
|
||||
type: number
|
||||
stepWeightPromotion:
|
||||
description: Incremental traffic percentage step for the promotion phase
|
||||
type: number
|
||||
mirror:
|
||||
description: Mirror traffic to canary
|
||||
|
||||
@@ -562,7 +562,10 @@ spec:
|
||||
description: Max traffic percentage routed to canary
|
||||
type: number
|
||||
stepWeight:
|
||||
description: Incremental traffic percentage step
|
||||
description: Incremental traffic percentage step for the analysis phase
|
||||
type: number
|
||||
stepWeightPromotion:
|
||||
description: Incremental traffic percentage step for the promotion phase
|
||||
type: number
|
||||
mirror:
|
||||
description: Mirror traffic to canary
|
||||
|
||||
@@ -562,7 +562,10 @@ spec:
|
||||
description: Max traffic percentage routed to canary
|
||||
type: number
|
||||
stepWeight:
|
||||
description: Incremental traffic percentage step
|
||||
description: Incremental traffic percentage step for the analysis phase
|
||||
type: number
|
||||
stepWeightPromotion:
|
||||
description: Incremental traffic percentage step for the promotion phase
|
||||
type: number
|
||||
mirror:
|
||||
description: Mirror traffic to canary
|
||||
|
||||
@@ -203,10 +203,14 @@ type CanaryAnalysis struct {
|
||||
// +optional
|
||||
MaxWeight int `json:"maxWeight,omitempty"`
|
||||
|
||||
// Incremental traffic percentage step
|
||||
// Incremental traffic percentage step for analysis phase
|
||||
// +optional
|
||||
StepWeight int `json:"stepWeight,omitempty"`
|
||||
|
||||
// Incremental traffic percentage step for promotion phase
|
||||
// +optional
|
||||
StepWeightPromotion int `json:"stepWeightPromotion,omitempty"`
|
||||
|
||||
// Max number of failed checks before the canary is terminated
|
||||
Threshold int `json:"threshold"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user