mirror of https://github.com/kubernetes/kops.git
Wait 20 min for cluster validation
This commit is contained in:
parent
4945a8ea0c
commit
98f8ab7828
|
|
@ -261,14 +261,8 @@ func (d *deployer) updateCluster(yes bool) error {
|
|||
func (d *deployer) IsUp() (bool, error) {
|
||||
wait := d.ValidationWait
|
||||
if wait == 0 {
|
||||
if d.TerraformVersion != "" || d.CloudProvider == "digitalocean" {
|
||||
// `--target terraform` doesn't precreate the API DNS records,
|
||||
// so kops is more likely to hit negative TTLs during validation.
|
||||
// Digital Ocean also occasionally takes longer to validate.
|
||||
wait = time.Duration(20) * time.Minute
|
||||
} else {
|
||||
wait = time.Duration(15) * time.Minute
|
||||
}
|
||||
// kOps is more likely to hit negative TTLs for API DNS during validation.
|
||||
wait = time.Duration(20) * time.Minute
|
||||
}
|
||||
args := []string{
|
||||
d.KopsBinaryPath, "validate", "cluster",
|
||||
|
|
|
|||
Loading…
Reference in New Issue