-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logs are still redirected to stderr by default #811
Comments
The suggestion in KEP regarding the flag deprecation of xref: KEP-2845: Deprecate klog specific flags in Kubernetes Compnents
|
@harshanarayana thanks for that explanation, that's not what I was expecting but if it is the official solution documented upstream then we should recommend that too. Maybe we can update our charts to do it that way as well |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle rotten |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What version of descheduler are you using?
descheduler version: v0.24.0
Does this issue reproduce with the latest release?
Yes
Which descheduler CLI options are you using?
None
Please provide a copy of your descheduler policy config file
What k8s version are you using (
kubectl version
)?Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.9", GitCommit:"b631974d68ac5045e076c86a5c66fba6f128dc72", GitTreeState:"clean", BuildDate:"2022-01-19T17:51:12Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.11-gke.1100", GitCommit:"20da4c21b3a6b1a56ff6ad5ecb7dee013aaf1b83", GitTreeState:"clean", BuildDate:"2022-04-01T09:40:07Z", GoVersion:"go1.16.15b7", Compiler:"gc", Platform:"linux/amd64"}
What did you do?
I installed the latest v0.24.0 version using the provided helm chart (also v0.24.0).
The chart created a CronJob on the cluster.
The pods created by that CrobJob are indeed using v0.24.0 but they still log everything using stderr instead of stdout.
If I add the argument
--logtostderr=false
it works but that's throws a deprecation warning and also misses the purpose of the fix.Moreover, downloading the image locally and running it without flags, prints the following:
which seems like it still defaults to true
What did you expect to see?
After upgrading to v0.23.1 and v0.24.0, I expect to see logs being sent to stdout by default as #680 was fixed and was part of the v0.23.0 release notes.
What did you see instead?
Logs are still sent to stderr and considered as Errors in Datadog.
The text was updated successfully, but these errors were encountered: