From 67e9bcf967f76db4e662685832ddaf0cc374fc17 Mon Sep 17 00:00:00 2001 From: Matt Moore Date: Wed, 15 Jul 2020 13:08:33 -0700 Subject: [PATCH] Bump the drain timeout (#1501) --- network/network.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/network/network.go b/network/network.go index 93037189c4..c98879abde 100644 --- a/network/network.go +++ b/network/network.go @@ -40,7 +40,10 @@ const ( // path will wait before shutting down server, but after starting to fail // readiness probes to ensure network layer propagation and so that no requests // are routed to this pod. - DefaultDrainTimeout = 30 * time.Second + // Note that this was bumped from 30s due to intermittent issues where + // the webhook would get a bad request from the API Server when running + // under chaos. + DefaultDrainTimeout = 45 * time.Second // UserAgentKey is the constant for header "User-Agent". UserAgentKey = "User-Agent"