-
Notifications
You must be signed in to change notification settings - Fork 38.8k
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
apiserver: do not print feature gates for glog v=0 #65584
Conversation
Demand verbosity level > 0 for glog Infof() calls when setting feature gates in pkg/util/feature_gate.go.
/approve |
/lgtm |
/test pull-kubernetes-e2e-gce |
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.
/lgtm
Let's get this into v1.11.1 as a bug fix. Okay by everybody else?
Thanks @neolit123!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: luxas, neolit123, smarterclayton The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[MILESTONENOTIFIER] Milestone Pull Request Needs Approval @luxas @neolit123 @smarterclayton @kubernetes/sig-api-machinery-misc @kubernetes/sig-cluster-lifecycle-misc Action required: This pull request must have the Pull Request Labels
|
(critical-urgent only because that's the only priority the bot allows for PRs in a milestone I think) |
/test pull-kubernetes-e2e-gce |
1 similar comment
/test pull-kubernetes-e2e-gce |
/test all [submit-queue is verifying that this PR is safe to merge] |
/cc @cheftako |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
What this PR does / why we need it:
Demand verbosity level > 0 for glog Infof() calls when
setting feature gates in pkg/util/feature_gate.go.
Without this, regular calls to things like
kubeadm token generate
would also printfeature_gate.go:230] feature gates: &{map[]}
.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes kubernetes/kubeadm#953
Special notes for your reviewer:
i doubt there is a particular reason to not use verbosity level here?
is
v=1
sufficient here?/area apiserver
/area kubeadm
/kind cleanup
/cc @kubernetes/sig-cluster-lifecycle-pr-reviews
/cc @kubernetes/sig-api-machinery-pr-reviews
Release note: