Haitao Chen
1d92758ef0
implement emulated-version for kube-controller-manager
2024-07-22 16:07:18 -07:00
Lukasz Szaszkiewicz
2f5394567e
Revert "kube-controller-manager: enable WatchListClient"
...
This reverts commit 825091693d
.
2024-07-18 09:29:53 +02:00
Kubernetes Prow Robot
d729af9446
Merge pull request #125591 from p0lyn0mial/upstream-promote-watch-list-to-beta
...
Promote WatchList feature to Beta
2024-07-01 02:31:14 -07:00
Kubernetes Prow Robot
522e2e5066
Merge pull request #124917 from vinayakankugoyal/kep4633
...
KEP-4633: Only allow anonymous auth for configured endpoints.
2024-06-27 20:39:51 -07:00
Vinayak Goyal
5e6a4937f5
KEP-4633: Allow health-only anonymous auth mode.
...
Signed-off-by: Vinayak Goyal <vinaygo@google.com>
2024-06-28 00:30:05 +00:00
Lukasz Szaszkiewicz
825091693d
kube-controller-manager: enable WatchListClient
2024-06-27 09:01:06 +02:00
Lukasz Szaszkiewicz
cc7063e96d
kube-controller-manager: refactor watchlist unit tests
2024-06-26 12:47:46 +02:00
carlory
214287b370
kube-controller-manager removed deprecated command flags: --volume-host-cidr-denylist and --volume-host-allow-local-loopback
2024-05-27 10:59:09 +08:00
SataQiu
4bd3baece3
kube-controller-manager: remove the deprecated horizontal-pod-autoscaler-upscale-delay and horizontal-pod-autoscaler-downscale-delay flags
2024-05-19 17:49:23 +08:00
Lukasz Szaszkiewicz
8668c7f718
kube-controller-manager/options: unit test WatchListClient feature gate for command line options
2024-01-18 09:22:14 +01:00
Jiahui Feng
049614f884
ValidatingAdmissionPolicy controller for Type Checking ( #117377 )
...
* [API REVIEW] ValidatingAdmissionPolicyStatucController config.
worker count.
* ValidatingAdmissionPolicyStatus controller.
* remove CEL typechecking from API server.
* fix initializer tests.
* remove type checking integration tests
from API server integration tests.
* validatingadmissionpolicy-status options.
* grant access to VAP controller.
* add defaulting unit test.
* generated: ./hack/update-codegen.sh
* add OWNERS for VAP status controller.
* type checking test case.
2023-07-13 13:41:50 -07:00
Filip Křepinský
94792d85de
simplify TestValidateControllersOptions test
2023-06-19 15:00:59 +02:00
Filip Křepinský
9730951136
introduce KCM controller aliases and unify controller names
2023-06-19 14:59:33 +02:00
carlory
5e048041e4
remove helper function for unused storage feature in pkg/proxy/util
2023-06-13 09:22:59 +08:00
Kubernetes Prow Robot
32048b1467
Merge pull request #117550 from borgerli/cron-job-syncs
...
add --concurrent-cron-job-syncs flag for kube-controller-manager
2023-06-12 13:46:19 -07:00
tinatingyu
133eff3df4
implement LegacyServiceAccountTokenCleanUp alpha
2023-05-24 23:20:17 +00:00
Li Bo
f9bab9a60b
add --concurrent-cron-job-syncs flag
2023-04-24 18:28:14 +08:00
Kubernetes Prow Robot
c3e3ff989a
Merge pull request #116896 from thockin/apimachinery_util_diff_cleanup
...
apimachinery util/diff cleanups
2023-04-13 02:26:37 -07:00
Tim Hockin
bc302fa414
Replace uses of ObjectReflectDiff with cmp.Diff
...
ObjectReflectDiff is already a shim over cmp.Diff, so no actual output
or behavior changes
2023-04-12 08:48:03 -07:00
Antoni Zawodny
c69689659a
Add --concurrent-job-syncs
flag to kube-controller-manager
2023-04-12 14:19:39 +02:00
Andrea Tosatto
cae19f9e85
Remove deprecated pod-eviction-timeout flag from controller-manager
2023-03-07 18:14:18 +00:00
kerthcet
e5c812bbe7
Remove CLI flag enable-taint-manager
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-03-07 18:11:49 +00:00
SataQiu
eb541bb819
controller-manager: fix a bug that the kubeconfig field of kubecontrollermanager.config.k8s.io configuration is not set correctly
2023-03-04 11:17:55 +08:00
Artem Minyaylov
f573e14942
Update k8s.io/utils to latest version
...
Update all usages of FakeExec to pointer to avoid copying the mutex
2023-02-04 11:05:22 -08:00
TommyStarK
454290c583
cmd/kube-controller-manager/app/options: Improving test coverage
...
Add a snippet of the expected error string related to the aspect being tested
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2022-12-13 14:05:48 +01:00
TommyStarK
270141aa0b
cmd/kube-controller-manager/app/options: Improving test coverage
...
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2022-12-10 13:36:12 +01:00
Zbynek Roubalik
1cefcdea2d
add --concurrent-horizontal-pod-autoscaler-syncs
flag to kube-controller-manager
...
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2022-10-17 17:39:31 +02:00
likakuli
74a3b8f4a9
feat: fix a bug thaat not all event be ignored by gc controller
...
Signed-off-by: likakuli <1154584512@qq.com>
2022-07-04 18:00:54 +08:00
熊中谅10171568
c4579165f1
refactor: remove deprecated flags
...
refactor: remove deprecated deleting-pods-qps deleting-pods-burst register-retry-count flags
2022-04-22 20:28:12 +08:00
SataQiu
9ac1b4b68f
remove unused option deployment-controller-sync-period for deployment controller
2022-03-30 20:00:53 +08:00
Antonio Ojea
0cd75e8fec
run hack/update-netparse-cve.sh
2021-08-20 10:42:09 +02:00
SataQiu
7fa0b9b6c1
add --concurrent-ephemeralvolume-syncs flag for kube-controller-manager
2021-07-25 21:36:57 +08:00
Marek Siarkowicz
4ebc0c94a4
Remove legacy metrics client from podautoscaler
2021-06-04 23:06:32 +02:00
Kubernetes Prow Robot
7563d3092e
Merge pull request #96216 from knight42/refactor/disable-insecure-port-in-ctrler-mgr
...
refactor: disable insecure serving in controller-manager
2021-05-10 13:49:36 -07:00
Jian Zeng
e481d99965
refactor: disable insecure serving in controller-manager
...
Now the following flags have no effect and would be removed in v1.24:
* `--port`
* `--address`
The insecure port flags `--port` may only be set to 0 now.
Signed-off-by: Jian Zeng <zengjian.zj@bytedance.com>
2021-05-03 00:01:49 +08: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
Indeed
68ebe29529
fix leader migration options not applied
...
to kube-controller-manager or cloud-controller-manager
2021-03-09 14:46:52 -08:00
David Eads
62230d3c46
update delegated authz defaults in kube binaries
2021-01-26 12:53:24 -05: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
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
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
cici37
9465d95ea6
Move CCM to staging k8s.io/cloud-provider
2020-10-29 20:50:23 -07:00
Lukasz Szaszkiewicz
2160cbc53f
DelegatingAuthorizationOptions: exposes and sets a default timeout for SubjectAccessReview client
...
previously no timeout was set. Requests without explicit timeout might potentially hang forever and lead to starvation of the application.
2020-10-26 17:11:59 +01:00
cici37
ae8ce0d190
Move cmd/controller-manager to k8s.io/controller-manager and cloud specific configs to k8s.io/cloud-provider.
2020-10-08 13:23:16 -07:00
Matthew Cary
f2e23afcf1
Adds filtering of hosts to DialContexts.
...
The provided DialContext wraps existing clients' DialContext in an attempt to
preserve any existing timeout configuration. In some cases, we may replace
infinite timeouts with golang defaults.
- scaleio: tcp connect/keepalive values changed from 0/15 to 30/30
- storageos: no change
2020-09-18 00:07:32 +00:00
Kubernetes Prow Robot
05f6812c2d
Merge pull request #90822 from deads2k/csr-separate-signer-flags-02
...
allow setting different certificates for kube-controller-managed CSR signers
2020-07-18 03:10:50 -07:00
Kubernetes Prow Robot
4efed03276
Merge pull request #91637 from robscott/endpointslice-mirroring
...
Adding new EndpointSlice Mirroring Controller
2020-07-10 10:19:48 -07:00
David Eads
e88fecf26b
allow setting different certificates for kube-controller-managed CSR signers
2020-07-09 08:14:55 -04:00