File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
content/en/docs/concepts/cluster-administration Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,15 @@ using the [kubelet configuration file](/docs/tasks/administer-cluster/kubelet-co
110
110
These settings let you configure the maximum size for each log file and the maximum number of
111
111
files allowed for each container respectively.
112
112
113
+ In order to perform an efficient log rotation in clusters where the volume of the logs generated by
114
+ the workload is large, kubelet also provides a mechanism to tune how the logs are rotated in
115
+ terms of how many concurrent log rotations can be performed and the interval at which the logs are
116
+ monitored and rotated as required.
117
+ You can configure two kubelet [ configuration settings] ( /docs/reference/config-api/kubelet-config.v1beta1/ ) ,
118
+ ` containerLogMaxWorkers ` and ` containerLogMonitorInterval ` using the
119
+ [ kubelet configuration file] ( /docs/tasks/administer-cluster/kubelet-config-file/ ) .
120
+
121
+
113
122
When you run [ ` kubectl logs ` ] ( /docs/reference/generated/kubectl/kubectl-commands#logs ) as in
114
123
the basic logging example, the kubelet on the node handles the request and
115
124
reads directly from the log file. The kubelet returns the content of the log file.
@@ -202,7 +211,7 @@ as your responsibility.
202
211
203
212
## Cluster-level logging architectures
204
213
205
- While Kubernetes does not provide a native solution for cluster-level logging, there are
214
+ While Kubernetes does not provide a native solution for cluster-level logging, there are
206
215
several common approaches you can consider. Here are some options:
207
216
208
217
* Use a node-level logging agent that runs on every node.
You can’t perform that action at this time.
0 commit comments