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

rotate service logs using logrotate tool #81

Closed
wants to merge 0 commits into from

Conversation

Zero3River
Copy link
Contributor

Add logrotate sidecar container for etcd, mds and chunkserver. Also provide a default configuration file for logrotate in config/samples #76

README.md Outdated
```

```shell
$ kubectl create configmap log-conf --from-file=config/samples/logrotate.conf
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The configmap should create in code.

pkg/mds/spec.go Outdated
},
}
return container
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the test passes, it can be encapsulated into a function as final commit.

@caoxianfei1 caoxianfei1 changed the title add logrotate & conf for etcd, mds, chunkserver. rotate service logs using logrotate tool Sep 1, 2023
@caoxianfei1
Copy link
Collaborator

@Zero3River sqush to one commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants