-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Log requests to GCE #26170
Log requests to GCE #26170
Conversation
5c1433d
to
16eec92
Compare
GCE e2e build/test passed for commit 16eec923c811a81759ababe7bb745093db263e98. |
rl.limiter.Accept() | ||
// TODO: Reduce verbosity once #26119 is fixed. | ||
glog.V(1).Infof("GCE api call: %s %s (throttled for %v)", req.Method, req.URL.String(), time.Now().Sub(startTime)) |
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.
This looks fine, but do we log at V(1) by default or are you proposing to restart 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.
It seems that e.g. in GKE by default we don't log on --v=1. So I changed it temporarily to V(0).
I will reduce the verbosity once we understand this.
16eec92
to
55fdc1c
Compare
The only change is V(1) -> V(0), so reapplying lgtm. |
GCE e2e build/test passed for commit 55fdc1c. |
This change is pretty trivial - merging manually. |
Automatic merge from submit-queue GCE provider: Revert rate limits [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]() This reverts #26140 and #26170. After testing with #26263, #26140 is unnecessary, and we need to be able to prioritize normal GET / POST requests over operation polling requests, which is what the pre-#26140 requests do. c.f. #26119
Ref #26119
This should simplify debugging what requests we are sending to GCE (and why we are throttled in routecontroller).
@zmerlynn @gmarek