mirror of https://github.com/kubernetes/kops.git
Merge pull request #11049 from rifelpet/validate-flap
cluster validation - allow flapping of validation errors
This commit is contained in:
commit
45c2333400
|
|
@ -217,8 +217,9 @@ func RunValidateCluster(ctx context.Context, f *util.Factory, cmd *cobra.Command
|
|||
return result, nil
|
||||
}
|
||||
} else {
|
||||
if options.wait > 0 && consecutive == 0 {
|
||||
if options.wait > 0 {
|
||||
klog.Warningf("(will retry): cluster not yet healthy")
|
||||
consecutive = 0
|
||||
time.Sleep(pollInterval)
|
||||
continue
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue