-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
--logtostderr and --alsologtostderr flags no longer accepted in v0.6.0 #933
Comments
In my impression, this is the flag of klog, which should have been deleted in the latest version. |
klog specific flags was deprecated in v1.23, K8s version that Metrics Server v0.6.0 bind it's dependencies. Removing those flags however was not intended, this happened due to changes in how flags are registered by Overall I'm for removing klog flags, however only with proper previous communication. I think we should restore klog flags in v0.6.1 and announce their deprecation. Their removal should only happen in next release. @dgrisonnet WDYT? /triage accepted |
/assign |
Your suggestion sounds good to me @serathius |
If we don't pass |
|
Took some digging, but found this comment buried in an example:
https://github.com/kubernetes/klog/blob/main/examples/log_file/usage_log_file.go |
Also seeing v0.6.0 panic when passing
|
What happened:
After updating metrics-server container image to v0.6.0, my deployment crashes with the following log:
What you expected to happen:
metrics-server to keep accepting previously working CLI flags, which are also defined in
--help
, like--logtostderr
.Anything else we need to know?:
Bisecting points to 8297c94.
/kind bug
The text was updated successfully, but these errors were encountered: