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