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
|
return result, nil
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if options.wait > 0 && consecutive == 0 {
|
if options.wait > 0 {
|
||||||
klog.Warningf("(will retry): cluster not yet healthy")
|
klog.Warningf("(will retry): cluster not yet healthy")
|
||||||
|
consecutive = 0
|
||||||
time.Sleep(pollInterval)
|
time.Sleep(pollInterval)
|
||||||
continue
|
continue
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue