-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Queue Proxy Probe doesn't include an informative error message #6808
Comments
I agree. Let's move that block above again and just use a default /kind good-first-issue |
@markusthoemmes: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There's a comment to |
@vagababov which author you referring to? |
|
The point is, we want the clear log output that Josh put in in the first place by not using the logger. That was broken by the move of the logic recently. We can just undo that move as described above. |
Using & initializing the logger while the queue proxy is probing will result in json appearing in the k8s event which isn't user friendly
|
eh, I see. IT's the opposite. |
What version of Knative?
HEAD
Expected Behavior
When the readiness probe fails the event includes an informative message
Actual Behavior
The probe's logger shouldn't dump logs to stdout as this is reserved for informing the user
Readiness probe failed: {"level":"info","ts":"2020-02-11T14:27:52.903Z","caller":"logging/config.go:108","msg":"Successfully created the logger."}
Steps to Reproduce the Problem
The default logger shouldn't be initialized & used when the probing
serving/cmd/queue/main.go
Lines 350 to 374 in afbd55a
The text was updated successfully, but these errors were encountered: