Adding minimum instances to test data for update. Changing YAML de-serializing field name to match the name od the struct member and to decrease ambiguity.
This commit is contained in:
parent
090fdf1715
commit
82fe22e013
2 changed files with 5 additions and 4 deletions
|
@ -49,7 +49,7 @@ type UpdateStrategy struct {
|
||||||
type UpdateSettings struct {
|
type UpdateSettings struct {
|
||||||
MaxPerInstanceFailures int32 `yaml:"maxPerInstanceFailures"`
|
MaxPerInstanceFailures int32 `yaml:"maxPerInstanceFailures"`
|
||||||
MaxFailedInstances int32 `yaml:"maxFailedInstances"`
|
MaxFailedInstances int32 `yaml:"maxFailedInstances"`
|
||||||
MinTimeInRunning time.Duration `yaml:"minTimeRunning"`
|
MinTimeInRunning time.Duration `yaml:"minTimeInRunning"`
|
||||||
RollbackOnFailure bool `yaml:"rollbackOnFailure"`
|
RollbackOnFailure bool `yaml:"rollbackOnFailure"`
|
||||||
InstanceRanges []InstanceRange `yaml:"instanceRanges"`
|
InstanceRanges []InstanceRange `yaml:"instanceRanges"`
|
||||||
InstanceCount int32 `yaml:"instanceCount"`
|
InstanceCount int32 `yaml:"instanceCount"`
|
||||||
|
|
|
@ -18,11 +18,12 @@ updateSettings:
|
||||||
maxFailedInstances: 1
|
maxFailedInstances: 1
|
||||||
minTimeInRunning: 1m
|
minTimeInRunning: 1m
|
||||||
rollbackOnFailure: true
|
rollbackOnFailure: true
|
||||||
|
instanceCount: 1
|
||||||
instanceRanges:
|
instanceRanges:
|
||||||
- first: 1
|
- first: 1
|
||||||
last: 4
|
last: 4
|
||||||
pulseTimeout: 1m
|
pulseTimeout: 1m
|
||||||
strategy:
|
strategy:
|
||||||
batch:
|
variableBatch:
|
||||||
groupSize: 2
|
groupSizes: [1,2,3]
|
||||||
autoPause: false
|
autoPause: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue