-
Notifications
You must be signed in to change notification settings - Fork 402
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
[Feature] Enable controller and apiserver to write logs to file path #593
Comments
/cc @Basasuya |
This seems reasonable -- writing to disk could be enabled by an option in the operator entrypoint. |
My preliminary conclusion is that using klog to write to file and stdout. |
sgtm |
After testing, I found Dockerfile is using gcr.io/distroless/static:nonroot as based image, which can not exec into the container. Writing to file is meaningless because I can not see them. |
This issue is resolved by #632. Close it. |
Search before asking
Description
Currently, we use stdout to catch control plane logs. This is inconvenient under some cases. Alternatively, we want to dump logs to a file path and use log shipper to send to remote logging system like ELK etc. So the ideal way is we both write logs to stdout and file.
Use case
As a user, I want to ship my logs to the logging system.
Related issues
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: