kubernetes/cmd/kube-controller-manager/app/options
Jakub Przychodzeń 87924e53f0 [kube-controller-manager] Lower timeout for leaderelection resourcelock
Migrate how resource lock and leader election config is generated to new way, hidding kubeClient. This also halfs kubeClient timeout, making it an useful value.

If timeout is equal to RenewDeadline and we hit client timeout on request, there will be no retry, as RenewDeadline part will cancel the context and lose leader election. So setting a timeout to value at least equal to RenewDeadline is pointless.

Setting it as half of RenewDeadline is a heuristic to resolve this missing retry problem without adding additional parameter.
2021-01-14 10:49:42 +01:00
..
attachdetachcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
BUILD Merge pull request #96399 from andrewsykim/service-config 2020-11-12 11:21:57 -08:00
cronjobcontroller.go add cronjob_controllerv2.go 2020-11-10 17:32:06 -05:00
csrsigningcontroller.go allow setting different certificates for kube-controller-managed CSR signers 2020-07-09 08:14:55 -04:00
daemonsetcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
deploymentcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
deprecatedcontroller.go get rid of copied fields in the options and using wraped componentconfig fields 2019-01-16 16:07:16 +08:00
endpointcontroller.go Add simple batching to endpoints controller 2019-07-24 11:36:53 +02:00
endpointslicecontroller.go Implement simple endpoint slice batching 2020-03-03 08:16:42 +01:00
endpointslicemirroringcontroller.go Enabling the EndpointSliceMirroring controller, adding related config 2020-07-06 12:43:34 -07:00
garbagecollectorcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
hpacontroller.go add applyto tests for controller configs 2019-11-26 13:02:12 -08:00
jobcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
namespacecontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
nodeipamcontroller.go Set node cidr mask size ipv4/ipv6 config 2019-11-20 22:08:58 -08:00
nodelifecyclecontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
options_test.go Merge pull request #96399 from andrewsykim/service-config 2020-11-12 11:21:57 -08:00
options.go [kube-controller-manager] Lower timeout for leaderelection resourcelock 2021-01-14 10:49:42 +01:00
persistentvolumebindercontroller.go Adds filtering of hosts to DialContexts. 2020-09-18 00:07:32 +00:00
podgccontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
replicasetcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
replicationcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
resourcequotacontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
serviceaccountcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
statefulsetcontroller.go add flag concurrent-statefulset-syncs to kube-controller-manager (#79169) 2019-07-31 22:36:14 -07:00
ttlafterfinishedcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00