Kubernetes Prow Robot
28296ba59e
Merge pull request #113994 from mengjiao-liu/contextual-logging-controller-certificates
...
certificate controller: use contextual logging
2023-06-21 09:03:42 -07:00
Ziqi Zhao
7bc449d7e0
add contextual logging to job-controller
...
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com >
2023-06-14 13:40:02 +08:00
kerthcet
6b4251c0fd
Remove statefulset from logcheck.conf
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2023-05-18 16:55:19 +08:00
Mengjiao Liu
5588e8a4cd
hack/logcheck.conf: remove certificate controller exception
2023-04-12 15:20:04 +08:00
Patrick Ohly
f26f896128
hack/logcheck.conf: enforce contextual logging in kube-controller-manager
...
Not all PRs made it into 1.27, but enough that it is now easier to list the
exceptions.
2023-03-14 19:17:31 +01:00
Lucas Severo Alves
6b34fafdaf
Add ctx logging involved in KS startup ( #115588 )
...
* ctx logging involved in startup
as per https://github.com/kubernetes/kubernetes/pull/111155#pullrequestreview-1283257121
* use klog.Background().Error in flag handling
* revert scheduler_perf changes
* refence issue in code comment
* enable ctx logcheck for cmd/kube-scheduler
2023-02-13 09:19:29 -08:00
Anish Ramasekar
b6b00e65bc
logcheck.conf: ensure that kms and value/encrypt uses structured logging
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com >
2023-02-10 02:28:39 +00:00
Patrick Ohly
c34185b2e5
logcheck.conf: ensure that dra uses contextual logging
...
It's new code, so we should follow the latest recommendations for logging.
2022-11-10 20:23:50 +01:00
Patrick Ohly
991d848e34
logcheck: enable helper check
...
This is in preparation of converting code to contextual logging.
2022-05-31 08:07:37 +02:00
Patrick Ohly
17e3c555c5
hack: integrate logcheck into golangci-lint
...
Running logcheck as part of golangci-lint has several advantages:
- faster checking because finding files and parsing is shared
with other linters
- gets rid of the complex and buggy
hack/verify-structured-logging.sh (https://github.com/kubernetes/kubernetes/issues/106746 )
- support for // nolint:logcheck
- works with Go 1.18
2022-03-24 11:21:03 +01:00