kops/pkg/instancegroups
Justin Santa Barbara ffb6cd61aa Rolling-update validation harmonization
This is a follow-on to #8868; I believe the intent of that was to
expose the option to do more (or fewer) retries.

We previously had a single retry to prevent flapping; this basically
unifies the previous behaviour with the idea of making it
configurable.

* validate-count=0 effectively turns off validation.

* validate-count=1 will do a single validation, without flapping
  detection.

* validate-count>=2 will require N succesful validations in a row,
waiting ValidateSuccessDuration in between.

A nice side-effect of this is that the tests now explicitly specify
ValidateCount=1 instead of setting ValidateSuccessDuration=0, which
had the side effect of doing the equivalent to ValidateCount=1.
2020-04-17 01:40:02 -04:00
..
BUILD.bazel make gomod 2020-04-05 10:22:51 -07:00
OWNERS fix OWNERS labels format 2020-03-10 22:47:50 -05:00
delete.go Add context.Context to most signatures 2020-04-11 14:44:17 -04:00
instancegroups.go Rolling-update validation harmonization 2020-04-17 01:40:02 -04:00
rollingupdate.go Rolling-update validation harmonization 2020-04-17 01:40:02 -04:00
rollingupdate_test.go Rolling-update validation harmonization 2020-04-17 01:40:02 -04:00
settings.go Default maxSurge to 1 on AWS 2020-03-04 19:41:51 -08:00
settings_test.go Default maxSurge to 1 on AWS 2020-03-04 19:41:51 -08:00