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
optimize some log config #85838
optimize some log config #85838
Conversation
@like-inspur: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. 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. |
Hi @like-inspur. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
Unknown CLA label state. Rechecking for CLA labels. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@@ -473,7 +473,7 @@ data: | |||
retry_forever | |||
retry_max_interval 30 | |||
chunk_limit_size 2M | |||
queue_limit_length 8 | |||
total_limit_size 2G |
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 seems quite large for a default install. I wouldn't want this to go past 500MB.
How did you arrive at this setting?
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.
OK,then set total_limit_size 500M can achieve this goal
/ok-to-test |
@like-inspur can you remove the changes to the prometheus files? as you noted, they no longer exist. also, please increase the patch version for all yaml files so that people can explicitly opt into these features |
use transport as health check port
fluentd readiness and liveness health check can use fluent-plugin-prometheus port
queue_limit_length is not supported by fluentd, and I config total_limit_size 2G for buffer total size
@coffeepac hello,I have remove the changes to the prometheus file |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: coffeepac, like-inspur 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 |
Just saw this change now. Total limit size 500 means to lower the default value which is 512MB. Regarding to the documentation (https://docs.fluentd.org/configuration/buffer-section) the removed option is for 0.12 compatibility and should not do any harm. Whats the error you've seen? |
Besides having same liveness and readiness probes ist bad practice. See: https://srcco.de/posts/kubernetes-liveness-probes-are-dangerous.html |
/kind bug
I commit some changes about log and monitor, now monitor has been removed from kubernetes, but log config is saved, So I commit some bug for log config like elasticsearch and fluentd #85195