Log file storage method and device
A log file and storage method technology, applied in the computer field, can solve problems such as bad experience, large volume, and complicated deployment
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2020-01-17
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the technical field of computers, in particular to a method and device for saving log files. Background technique
[0002] In the container cluster management system (Kurbernetes, K8S), there are multiple resource type group pods, and each pod corresponds to a main process. Users can query the log files corresponding to each pod in Kubernetes to understand the execution status of the main process corresponding to each pod, so as to meet the needs of users to manage and monitor each pod in Kubernetes.
[0003] In the kubernetes of the prior art, the log collection system fluentd is generally used to output the log files generated by each pod, and to persist each output log file. However, fluentd is a relatively large log plug-in, and its deployment is complicated. It is not suitable for some simple back-end system development. In the process of saving the log files corresponding to each pod, it is impossible to transfer the log...
Examples
Embodiment Construction
[0052] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
[0053] In this application, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any actual relationship or order, the terms "comprises," "comprises," or any other variation thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that in...