Skip to content
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 rotation best practices for nebulaCuster pods #115

Closed
wey-gu opened this issue Feb 25, 2022 · 6 comments
Closed

Log rotation best practices for nebulaCuster pods #115

wey-gu opened this issue Feb 25, 2022 · 6 comments
Assignees
Labels
type/enhancement Type: make the code neat or more efficient

Comments

@wey-gu
Copy link
Contributor

wey-gu commented Feb 25, 2022

Dear Team,
May I know if there is already some mechanism to enable log rotation/ old files truncation?

Thanks!

@MegaByte875
Copy link
Contributor

Hello @wey-gu
Operator doesn't provide any log rotation tools, we prefer nebulagraph support it.

@wey-gu
Copy link
Contributor Author

wey-gu commented Mar 1, 2022

from 3.0, nebula graph supports naming files with timestamps, and in baremetal cases, this would enable logrotate in Debian or centos from OS level.

While, in cloud-native case, corresponding can only be taken care by k8s layer I think.

ref: https://github.com/vesoft-inc/nebula/pull/3541/files

@MegaByte875
Copy link
Contributor

Right, I think provide a log rotater sidecar container could resolve it.

@wey-gu
Copy link
Contributor Author

wey-gu commented Apr 8, 2022

ref:

@Sophie-Xie Sophie-Xie added the type/enhancement Type: make the code neat or more efficient label Nov 30, 2022
@MegaByte875
Copy link
Contributor

#179

@wey-gu
Copy link
Contributor Author

wey-gu commented Feb 22, 2023

You are amazing @MegaByte875

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Type: make the code neat or more efficient
Projects
None yet
Development

No branches or pull requests

4 participants