From a7bc51212a4e7752402a1cfabeef5207f7c96145 Mon Sep 17 00:00:00 2001 From: Lukasz Szaszkiewicz Date: Wed, 14 Apr 2021 14:06:01 +0200 Subject: [PATCH] Revert "KCM: specifies the upper-bound timeout limit for outgoing requests" This reverts commit 662cc70c70a0f2b269188b9b2192eeee0e1a2ab4. --- cmd/kube-controller-manager/app/options/options.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/kube-controller-manager/app/options/options.go b/cmd/kube-controller-manager/app/options/options.go index 01775d454cf..a4a559715f0 100644 --- a/cmd/kube-controller-manager/app/options/options.go +++ b/cmd/kube-controller-manager/app/options/options.go @@ -21,7 +21,6 @@ package options import ( "fmt" "net" - "time" v1 "k8s.io/api/core/v1" utilerrors "k8s.io/apimachinery/pkg/util/errors" @@ -435,7 +434,6 @@ func (s KubeControllerManagerOptions) Config(allControllers []string, disabledBy kubeconfig.ContentConfig.ContentType = s.Generic.ClientConnection.ContentType kubeconfig.QPS = s.Generic.ClientConnection.QPS kubeconfig.Burst = int(s.Generic.ClientConnection.Burst) - kubeconfig.Timeout = 70 * time.Second // slightly bigger than the default server timeout which is 60 seconds client, err := clientset.NewForConfig(restclient.AddUserAgent(kubeconfig, KubeControllerManagerUserAgent)) if err != nil {