Add promotion step weight to Canary CRD

This commit is contained in:
stefanprodan
2020-05-18 10:34:10 +03:00
parent 0056b99309
commit f3b444ab49
4 changed files with 17 additions and 4 deletions
+4 -1
View File
@@ -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
+4 -1
View File
@@ -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
+4 -1
View File
@@ -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
+5 -1
View File
@@ -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"`