You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ecc294c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ All notable changes to this project will be documented in this file.
10
10
([#1086]).
11
11
- BREAKING: Enable auto-purge feature for data directory cleanup ([#1068]).
12
12
- Add `/ready` endpoint to the operator Deployment, which reports the CRD installation status ([#1090]).
13
+
- The logs of the `containerdebug` process are now collected by the Vector agent and forwarded to
14
+
the Vector aggregator ([#1106]).
13
15
14
16
### Changed
15
17
@@ -49,6 +51,10 @@ All notable changes to this project will be documented in this file.
49
51
See [our internal issue](https://github.com/stackabletech/hdfs-operator/issues/626) and [the fix](https://github.com/kube-rs/kube/pull/2042) for details ([#1070]).
50
52
- The operator now watches all resources that it creates and early-exits the reconcile action when the
51
53
cluster is marked for deletion ([#1079]).
54
+
- The `containerdebug` process writes its log file again. The operator set
55
+
`CONTAINERDEBUG_LOG_DIRECTORY`, which containerdebug stopped reading in its version 0.2.0 when it
56
+
moved to `stackable-telemetry`; the directory is now set via `FILE_LOG_DIRECTORY`. The file is
57
+
rotated hourly and at most two files are kept, because rotation is opt-in ([#1106]).
Copy file name to clipboardExpand all lines: docs/modules/zookeeper/pages/usage_guide/log_aggregation.adoc
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,4 +26,12 @@ spec:
26
26
replicas: 1
27
27
----
28
28
29
+
NOTE: The logs of the xref:concepts:observability/containerdebug.adoc[`containerdebug` process] are collected as well.
30
+
They are labelled `container: containerdebug`, although no such Kubernetes container exists.
31
+
The process runs in the background of the `zookeeper` container.
32
+
The label comes from `/stackable/log/containerdebug`, the directory which the operator sets with the `FILE_LOG_DIRECTORY` environment variable and from which the Vector agent derives the container name.
33
+
Overriding `FILE_LOG_DIRECTORY` with `envOverrides` therefore changes how these logs are aggregated.
34
+
The agent only collects files one level below `/stackable/log`, so a sibling directory such as `/stackable/log/zookeeper` relabels the events instead of dropping them, while any deeper or shallower path stops the aggregation.
35
+
A path outside `/stackable/log` also leaves the size-capped log volume.
36
+
29
37
Further information on how to configure logging, can be found in xref:concepts:logging.adoc[].
0 commit comments