-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Reduce replication_controller log spam #44391
Conversation
@sttts assuming this gets approved, let's pick it |
Should it also be gated on: |
/lgtm Thanks! |
|
@@ -202,8 +202,7 @@ func (rm *ReplicationManager) updateRC(old, cur interface{}) { | |||
oldRC := old.(*v1.ReplicationController) | |||
curRC := cur.(*v1.ReplicationController) | |||
|
|||
// TODO: Remove when #31981 is resolved! | |||
glog.Infof("Observed updated replication controller %v. Desired pod count change: %d->%d", curRC.Name, *(oldRC.Spec.Replicas), *(curRC.Spec.Replicas)) | |||
glog.V(4).Infof("Observed updated replication controller %v. Desired pod count change: %d->%d", curRC.Name, *(oldRC.Spec.Replicas), *(curRC.Spec.Replicas)) |
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.
Gate this as per @eparis suggestion and also remove the if clause below since we already log status updates in the controller
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.
On it
Decrease verbosity and reword 'Observed updated replication controller ...' now that the issue it was added for has been fixed.
/lgtm |
lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kargakis, ncdc, wojtek-t
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
@k8s-bot cvm gce e2e test this |
Automatic merge from submit-queue |
Decrease verbosity and reword 'Observed updated replication controller
...' now that the issue it was added for has been fixed.
This was originally added to debug #31981, and it was fixed back in September 2016.
cc @gmarek @wojtek-t @Kargakis @eparis @smarterclayton