Kubernetes Prow Robot
fe88bdc1ab
Merge pull request #101304 from wangyx1992/capatial-log-controller
...
cleanup: fix errors in wrapped format and log capitalization in controller
2021-04-22 15:55:52 -07:00
BinacsLee
75dde4dce4
code cleanup: Abstract repetitive codes in cmd as a function
2021-04-22 23:35:04 +08:00
wangyx1992
fd51e654af
cleanup: fix errors in wrapped format and log capitalization in controller
...
Signed-off-by: wangyx1992 <wang.yixiang@zte.com.cn>
2021-04-22 15:40:54 +08:00
Kubernetes Prow Robot
dc2020eb9d
Merge pull request #100959 from p0lyn0mial/upstream-delegated-authn-timeout
...
DelegatingAuthenticationOptions: TokenReview request timeout
2021-04-14 18:20:09 -07:00
Lukasz Szaszkiewicz
a7bc51212a
Revert "KCM: specifies the upper-bound timeout limit for outgoing requests"
...
This reverts commit 662cc70c70
.
2021-04-14 14:06:01 +02:00
Lukasz Szaszkiewicz
d690d71d27
DelegatingAuthenticationOptions TokenReview request timeout
...
it turns out that setting a timeout on HTTP client affect watch requests made by the delegated authentication component.
with a 10 second timeout watch requests are being re-established exactly after 10 seconds even though the default request timeout for them is ~5 minutes.
this is because if multiple timeouts were set, the stdlib picks the smaller timeout to be applied, leaving other useless.
for more details see a937729c2c/src/net/http/client.go (L364)
instead of setting a timeout on the HTTP client we should use context for cancellation.
2021-04-13 16:53:59 +02:00
Kubernetes Prow Robot
c94a2f75e6
Merge pull request #99358 from p0lyn0mial/kcm-timeout
...
KCM: specifies the upper-bound timeout limit for outgoing requests
2021-04-08 14:28:07 -07:00
Indeed
2a73fdf9ea
refactor run to use a callback instead.
2021-03-09 14:58:35 -08:00
Indeed
ba47f60e4b
change filter to return a FilterResult.
2021-03-09 14:58:35 -08:00
Indeed
e8479414ab
extract common code for the main lock.
2021-03-09 14:58:35 -08:00
Indeed
3362918f8f
extract electAndRun to a top-level func.
2021-03-09 14:58:35 -08:00
Indeed
721b1822d6
implementation of leader migration.
2021-03-09 14:46:52 -08:00
Indeed
68ebe29529
fix leader migration options not applied
...
to kube-controller-manager or cloud-controller-manager
2021-03-09 14:46:52 -08:00
Morten Torkildsen
21fba79d45
Promote PDBs to GA
2021-03-09 10:29:11 -05:00
Jan Safranek
219cbc818a
Refactor CSI migration plugin manager to get featureGates as a parameter
...
This allows caller to provide fake ones for testing of various corner cases
(migration on A/D controller disabled while enabled on kubelet).
2021-03-08 13:50:01 +01:00
Swetha Repakula
108fd44f7c
Graduate EndpointSlice feature gate to GA
2021-03-06 15:58:47 -08:00
Swetha Repakula
1925d94b18
Graduate EndpointSlice Controllers to GA
...
- EndpointSlice controller will stop writing to Topology field
- EndpointSlice controller will only provide NodeName and Zone on
EndpointSlices
2021-03-06 15:58:47 -08:00
Maciej Szulik
78f51f8fa5
Switch cronjob controller to batch/v1
2021-03-05 14:03:34 +01:00
David Eads
8b55bdc405
increase discovery burst for kube-controller-manager
2021-03-03 10:41:34 -05:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Monis Khan
343a3d1882
csr signers: increase the number of workers
...
This change updates the number of workers that the CSR signing
controllers use. If a large number of certificates (especially
short lived ones) are approved at the same time, it can take the
signing controllers a long time to process them serially. The
NewCSRSigningController logic is already go routine safe.
Signed-off-by: Monis Khan <mok@vmware.com>
2021-02-24 15:50:52 -05:00
Lukasz Szaszkiewicz
662cc70c70
KCM: specifies the upper-bound timeout limit for outgoing requests
...
Previously no timeout was set.
Requests without explicit timeout might potentially hang forever and lead to starvation of the application.
2021-02-23 13:08:19 +01:00
Shihang Zhang
cbf6e38bbd
move RootCAConfigMap to ga
2021-02-22 15:59:27 -08:00
Kubernetes Prow Robot
186f934e4c
Merge pull request #98346 from mortent/checkForScalePDBs
...
Check if resources implement scale in disruption controller
2021-02-22 13:58:03 -08:00
Shihang Zhang
1095778dcc
remove secret-based sa token client builder
2021-02-21 22:00:40 -08:00
Morten Torkildsen
96ea28aa77
Check if resources implement scale in disruption controller
2021-02-03 20:19:35 -08:00
Kubernetes Prow Robot
d2659101bf
Merge pull request #98325 from deads2k/update-default-authorizer
...
Update delegated authorization options default to eliminate unnecessary SARs
2021-02-02 11:38:28 -08:00
Kubernetes Prow Robot
c04058418f
Merge pull request #98243 from Jiawei0227/unregister-plugin
...
Disable in-tree plugin without enabling CSI migration
2021-01-29 12:59:48 -08:00
David Eads
62230d3c46
update delegated authz defaults in kube binaries
2021-01-26 12:53:24 -05:00
Jiawei Wang
bda557b4bc
Disable in-tree plugin without enabling CSI migration
...
This commit replaces the CSIMigrationXXXComplete flag
with InTreePluginXXUnregister flag. This new flag will
be a superset of the CSIMigrationXXXComplete. But this
decouple the plugin unregister from CSI migration. So
if a K8s distribution want to go directly with CSI and
do not support in-tree, they can use this flag directly.
Testing:
1. Enable the InTreePluginXXUnregister and not CSIMigrationXXX,
verify that the PVC using old plugin name will have error
saying cannot find the plugin
2. Enable both the InTreePluginXXUnregister and CSIMigrationXXX
verify that the PVC using old plugin name will start to use
the migrated CSI plugin
2021-01-22 16:58:51 -08:00
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
ialidzhikov
bc432124a2
Remove CSINodeInfo feature gate
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2020-12-10 09:58:22 +02:00
Jordan Liggitt
09bdf76b8a
Plumb event recorder to garbage collector controller
2020-11-17 10:42:45 -05:00
Kubernetes Prow Robot
da75c26648
Merge pull request #95978 from roycaihw/storage-version/gc
...
Storage version garbage collector
2020-11-12 18:36:37 -08:00
Haowei Cai
f675dac440
generated
2020-11-12 16:25:22 -08:00
Haowei Cai
ee9ace14c2
add storage version garbage collector
2020-11-12 16:21:00 -08:00
Kubernetes Prow Robot
e38b1b94f8
Merge pull request #96399 from andrewsykim/service-config
...
move service controller config to k8s.io/cloud-provider/controllers/service/config
2020-11-12 11:21:57 -08:00
Alay Patel
38bb53555e
update violation_exceptions.list and make generated
2020-11-10 17:32:06 -05:00
Alay Patel
8d7dd4415e
add cronjob_controllerv2.go
2020-11-10 17:32:06 -05:00
Andrew Sy Kim
b1e0decce1
move service controller config to k8s.io/cloud-provider/controllers/service/config
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-10 14:59:44 -05:00
Kubernetes Prow Robot
b1b627072a
Merge pull request #96217 from p0lyn0mial/delegated-authn-webhook-token-timeout
...
DelegatingAuthenticationOptions TokenReview client timeout
2020-11-06 11:29:16 -08:00
Shihang Zhang
d40f0c43c4
separate RootCAConfigMap from BoundServiceAccountTokenVolume
2020-11-04 17:10:39 -08:00
Lukasz Szaszkiewicz
7340c3498a
DelegatingAuthenticationOptions: allows for setting a timeout for the TokenReview client that is used by for the webhook authenticator
...
Previously no timeout was set. Requests without explicit timeout might potentially hang forever and lead to starvation of the application.
When no timeout was specified a default one will be applied.
2020-11-04 13:40:33 +01:00
Abu Kashem
53a1307f68
make backoff parameters configurable for webhook
...
Currently webhook retry backoff parameters are hard coded, we want
to have the ability to configure the backoff parameters for webhook
retry logic.
2020-11-01 10:18:25 -05:00
Kubernetes Prow Robot
bf67247124
Merge pull request #93258 from zshihang/token
...
mv TokenRequest and TokenRequestProjection to GA
2020-10-30 16:36:51 -07:00
Kubernetes Prow Robot
4b65f70652
Merge pull request #95740 from cici37/moveCCM
...
Move cloud-controller-manager to staging k8s.io/cloud-provider
2020-10-30 13:48:51 -07:00
cici37
9465d95ea6
Move CCM to staging k8s.io/cloud-provider
2020-10-29 20:50:23 -07:00
Shihang Zhang
ff641f6eb2
mv TokenRequest and TokenRequestProjection to GA
2020-10-29 20:47:01 -07:00
cici37
a91a2cdad6
Move informer_factory to staging
2020-10-29 12:20:33 -07:00
Kubernetes Prow Robot
4df8d97af0
Merge pull request #95725 from p0lyn0mial/delegated-authz-sar-timeout
...
sets explicit timeout for SubjectAccessReview client
2020-10-27 03:37:59 -07:00