kubernetes/cmd/kube-controller-manager/app/options
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
..
attachdetachcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
cronjobcontroller.go add cronjob_controllerv2.go 2020-11-10 17:32:06 -05:00
csrsigningcontroller.go csr: add expirationSeconds field to control cert lifetime 2021-07-01 23:38:15 -04:00
daemonsetcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
deploymentcontroller.go deprecate unused option deployment-controller-sync-period for deployment controller 2021-07-07 15:40:12 +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
ephemeralcontroller.go add --concurrent-ephemeralvolume-syncs flag for kube-controller-manager 2021-07-25 21:36:57 +08:00
garbagecollectorcontroller.go fix all the reference about the API packages change 2019-03-02 12:54:33 +08:00
hpacontroller.go Remove legacy metrics client from podautoscaler 2021-06-04 23:06:32 +02: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 run hack/update-netparse-cve.sh 2021-08-20 10:42:09 +02:00
options.go component-base: initialize logging as soon as possible 2021-11-03 11:55:54 +01:00
persistentvolumebindercontroller.go cleanup: fix errors in wrapped format and log capitalization in controller 2021-04-22 15:40:54 +08: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