Rohit Singh
13dddca6a2
Add "disable-force-detach-on-timeout" flag to kube-controller-manager
2024-02-22 18:31:52 +00: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
jackcui
9d8959224c
add explanation for large-cluster-size-threshold arg about multiple zones cluster
2023-07-21 17:25:51 +08: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ý
4e6a3fb9c1
deduplicate cloud provider controller names
...
and move the to cloud-provider module
2023-06-19 15:01:01 +02:00
Filip Křepinský
e5f5a9bfdb
use controller names for CLI FlagSets to show the names in help
2023-06-19 15:01:01 +02:00
Filip Křepinský
cd56748ec5
reference controllers correctly from CLI help
2023-06-19 15:01:01 +02: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
98bbeae99f
address comments
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-03-07 18:11:51 +00:00
kerthcet
15daa48e30
Deprecate CLI flag pod-eviction-timeout
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-03-07 18:11:51 +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
kerthcet
b6d021b7e3
Deprecate CLI flag pod-eviction-timeout in KCM
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-11-08 00:21:56 +08:00
PingWang
015ca0c6a5
Correct some incorrect comments
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2022-10-26 10:06:24 +08: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
pandaamanda
3d87919a1e
refactor: move attachdetach controller param validation ahead
2022-08-18 08:56:57 +00:00
Kubernetes Prow Robot
42b6b2887c
Merge pull request #110888 from likakuli/feature_ignoreeventforgc
...
feat: ignore all event resource for gc
2022-08-01 12:10:28 -07:00
Kubernetes Prow Robot
d46742b387
Merge pull request #111411 from alculquicondor/deprecate-disable-taint-manager
...
Mark enable-taint-manager CLI flag as deprecated
2022-08-01 09:02:28 -07:00
Davanum Srinivas
a9593d634c
Generate and format files
...
- Run hack/update-codegen.sh
- Run hack/update-generated-device-plugin.sh
- Run hack/update-generated-protobuf.sh
- Run hack/update-generated-runtime.sh
- Run hack/update-generated-swagger-docs.sh
- Run hack/update-openapi-spec.sh
- Run hack/update-gofmt.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-07-26 13:14:05 -04:00
Aldo Culquicondor
cdb0b6babf
Mark enable-taint-manager CLI flag as deprecated
...
Change-Id: Ib0247e034def837f973b69c55ed6bc9486bd364e
2022-07-25 17:04:06 -04: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
Patrick Ohly
4c6338ac0f
logs: replace config methods with functions
...
API types are only supposed to have methods related to serialization.
2022-06-17 20:22:13 +02:00
Wojciech Tyczyński
fe3616cafb
Clean shutdown of kcm, ccm and scheduler
2022-05-26 12:36:59 +02:00
Kubernetes Prow Robot
7adb7c1d06
Merge pull request #109612 from pandaamanda/remove_DeprecatedControllerOptions
...
refactor: remove deprecated `deleting-pods-qps` `deleting-pods-burst` `register-retry-count` flags
2022-05-04 02:34:54 -07:00
Kubernetes Prow Robot
2d1f12942f
Merge pull request #108476 from ialidzhikov/cleanup/experimental-cluster-signing-duration
...
kube-controller-manager: Remove the deprecated `--experimental-cluster-signing-duration` flag
2022-05-03 18:23:31 -07: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
ialidzhikov
9c7c7cca24
kube-controller-manager: Cleanup MarkDeprecared call for already removed flag
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2022-03-05 12:53:44 +02:00
ialidzhikov
a444eb60d7
kube-controller-manager: Remove the deprecated --experimental-cluster-signing-duration
flag
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2022-03-03 08:47:49 +02:00
Jian Zeng
c73d96ac87
refactor: remove the insecure flags in controller-manager
...
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2021-12-08 10:50:12 +08:00
Patrick Ohly
4df70dfd41
component-base: initialize logging as soon as possible
...
In various places log messages where emitted as part of validation or even
before it (for example, cli.PrintFlags). Those log messages did not use the
final logging configuration, for example text output instead of JSON or not the
final verbosity. The last point became more obvious after moving the setup of
verbosity into logs.Options.Apply because PrintFlags never printed anything
anymore.
In order to force applications to deal with logging as soon as possible, the
Options.Validate and Options.Apply methods are now private. Applications should
use the new Options.ValidateAndApply directly after parsing.
2021-11-03 11:55:54 +01:00
Antonio Ojea
0cd75e8fec
run hack/update-netparse-cve.sh
2021-08-20 10:42:09 +02:00
Kubernetes Prow Robot
7ab3e3c8c3
Merge pull request #102981 from SataQiu/add-ephemeral-config-v1alpha1
...
Add --concurrent-ephemeralvolume-syncs flag for kube-controller-manager
2021-08-05 20:55:12 -07:00
SataQiu
7fa0b9b6c1
add --concurrent-ephemeralvolume-syncs flag for kube-controller-manager
2021-07-25 21:36:57 +08:00
Pingan2017
bf9f3dc7b3
deprecate unused option deployment-controller-sync-period for deployment controller
2021-07-07 15:40:12 +08:00
Monis Khan
cd91e59f7c
csr: add expirationSeconds field to control cert lifetime
...
This change updates the CSR API to add a new, optional field called
expirationSeconds. This field is a request to the signer for the
maximum duration the client wishes the cert to have. The signer is
free to ignore this request based on its own internal policy. The
signers built-in to KCM will honor this field if it is not set to a
value greater than --cluster-signing-duration. The minimum allowed
value for this field is 600 seconds (ten minutes).
This change will help enforce safer durations for certificates in
the Kube ecosystem and will help related projects such as
cert-manager with their migration to the Kube CSR API.
Future enhancements may update the Kubelet to take advantage of this
field when it is configured in a way that can tolerate shorter
certificate lifespans with regular rotation.
Signed-off-by: Monis Khan <mok@vmware.com>
2021-07-01 23:38:15 -04: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