reduce startup delays on kubernetes (#16356)

This commit is contained in:
Harshavardhana authored and GitHub committed 2023-01-05 02:32:43 -08:00
1 parent b29e159604
commit e0086c1be7
3 files changed
+51 -5

No files matched your search

+2 -1
View File
@@ -117,7 +117,8 @@ func init() {
go func() {
var t *time.Ticker
if containers {
t = time.NewTicker(1 * time.Minute)
// k8s DNS TTL is 30s (Attempt a refresh only after)
t = time.NewTicker(30 * time.Second)
} else {
t = time.NewTicker(10 * time.Minute)
}