mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Revert "KCM: specifies the upper-bound timeout limit for outgoing requests"
This reverts commit 662cc70c70
.
This commit is contained in:
parent
50da4c6f61
commit
a7bc51212a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user