mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #100359 from chewong/increase-dns-timeout
agnhost: increase dns timeout from 5 seconds to 20 seconds
This commit is contained in:
commit
ac5f05b374
@ -187,7 +187,7 @@ func ensureWindowsDNSAvailability(issuer string) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
return wait.PollImmediate(1*time.Second, 5*time.Second, func() (bool, error) {
|
return wait.PollImmediate(5*time.Second, 20*time.Second, func() (bool, error) {
|
||||||
ips, err := net.LookupHost(u.Host)
|
ips, err := net.LookupHost(u.Host)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println(err)
|
log.Println(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user