-
Notifications
You must be signed in to change notification settings - Fork 39.6k
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: remove deprecated klog flags #112120
Conversation
@serathius: do we still want to have this line here?
It only lists one flag, and that flag itself now says "only works for text log format". |
/lgtm |
/hold I forgot to mention that kubernetes/test-infra#27305 needs to be merged first. |
@serathius so do you want me to remove "Non-default formats don't honor these flags: --vmodule." or keep it? |
I don't think |
@@ -0,0 +1,42 @@ | |||
/* | |||
Copyright 202 The Kubernetes Authors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copyright 202 The Kubernetes Authors. | |
Copyright 2022 The Kubernetes Authors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, the good old times of 202! You are right of course, good catch.
5c49002
to
1d6ed58
Compare
That's also my preference. While at it, I also removed "Non-default choices are currently alpha and subject to change without warning." because that has been wrong for a while now. We don't need that sentence because non-GA formats list the corresponding feature gate:
|
1d6ed58
to
bfb50b6
Compare
* Update magnum from branch 'master' to f28b25734d3c1b11701076d47b6a37406b7317f0 - Merge "Support k8s 1.26: remove logtostderr" - Support k8s 1.26: remove logtostderr klog args have been removed from kubernetes in 1.26, and deprecated since 1.23. kubernetes/kubernetes#112120 The argument --logtostderr has defaulted to true for a long time, so this removal on older versions should have no impact. Change-Id: I64f934a9bbc39c5e054d8a83b3f6edee061469e6
klog args have been removed from kubernetes in 1.26, and deprecated since 1.23. kubernetes/kubernetes#112120 The argument --logtostderr has defaulted to true for a long time, so this removal on older versions should have no impact. Change-Id: I64f934a9bbc39c5e054d8a83b3f6edee061469e6
klog args have been removed from kubernetes in 1.26, and deprecated since 1.23. kubernetes/kubernetes#112120 The argument --logtostderr has defaulted to true for a long time, so this removal on older versions should have no impact. Change-Id: I64f934a9bbc39c5e054d8a83b3f6edee061469e6 (cherry picked from commit 16baf85)
This is needed to accomodate CAPI 1.4 coming in 4.14 payload https://main.cluster-api.sigs.k8s.io/developer/providers/migrations/v1.3-to-v1.4.html, kubernetes/enhancements#2845, kubernetes/kubernetes#112120
This is needed to accomodate CAPI 1.4 coming in 4.14 payload https://main.cluster-api.sigs.k8s.io/developer/providers/migrations/v1.3-to-v1.4.html, kubernetes/enhancements#2845, kubernetes/kubernetes#112120
klog args have been removed from kubernetes in 1.26, and deprecated since 1.23. kubernetes/kubernetes#112120 The argument --logtostderr has defaulted to true for a long time, so this removal on older versions should have no impact. Change-Id: I64f934a9bbc39c5e054d8a83b3f6edee061469e6
klog args have been removed from kubernetes in 1.26, and deprecated since 1.23. kubernetes/kubernetes#112120 The argument --logtostderr has defaulted to true for a long time, so this removal on older versions should have no impact. Change-Id: I64f934a9bbc39c5e054d8a83b3f6edee061469e6
klog args have been removed from kubernetes in 1.26, and deprecated since 1.23. kubernetes/kubernetes#112120 The argument --logtostderr has defaulted to true for a long time, so this removal on older versions should have no impact. Change-Id: I64f934a9bbc39c5e054d8a83b3f6edee061469e6
klog args have been removed from kubernetes in 1.26, and deprecated since 1.23. kubernetes/kubernetes#112120 The argument --logtostderr has defaulted to true for a long time, so this removal on older versions should have no impact. Change-Id: I64f934a9bbc39c5e054d8a83b3f6edee061469e6 (cherry picked from commit 16baf85)
klog args have been removed from kubernetes in 1.26, and deprecated since 1.23. kubernetes/kubernetes#112120 The argument --logtostderr has defaulted to true for a long time, so this removal on older versions should have no impact. Change-Id: I64f934a9bbc39c5e054d8a83b3f6edee061469e6 (cherry picked from commit 16baf85)
klog args have been removed from kubernetes in 1.26, and deprecated since 1.23. kubernetes/kubernetes#112120 The argument --logtostderr has defaulted to true for a long time, so this removal on older versions should have no impact. Change-Id: I64f934a9bbc39c5e054d8a83b3f6edee061469e6 (cherry picked from commit 16baf85)
What type of PR is this?
/kind cleanup
/kind api-change
What this PR does / why we need it:
This completes the deprecation of klog flags which are no longer supported.
klog itself continues to support them, but Kubernetes components don't. This
makes the command line interfaces simpler and reduces the attack surface
because less functionality is exposed.
Which issue(s) this PR fixes:
Fixes #kubernetes/enhancements#2845
Special notes for your reviewer:
For example, kube-controller-manager now has:
For details see
https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/2845-deprecate-klog-specific-flags-in-k8s-components
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/assign @serathius