File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 24
24
** Observability
25
25
*** xref:labels.adoc[]
26
26
*** xref:logging.adoc[]
27
+ *** xref:containerdebug.adoc[]
27
28
** xref:container-images.adoc[]
Original file line number Diff line number Diff line change
1
+ = Container environment
2
+
3
+ All Stackable-managed products regularly log information about their operating
4
+ environment, such as available disk interfaces and network interfaces.
5
+
6
+ This logging is performed by our https://github.com/stackabletech/containerdebug[containerdebug] tool.
7
+
8
+ NOTE: This tool is intended as a debugging aid, and the particular information or
9
+ format should not be considered stable.
10
+
11
+ == Interval
12
+
13
+ The tool collects and logs the state of the container every minute. It can also
14
+ be triggered manually, by running the `containerdebug` command inside of the
15
+ main product container.
16
+
17
+ == Output
18
+
19
+ The collected information is logged to the Kubernetes pod logs (readable via `kubectl logs <pod>`)
20
+ and to the xref:logging.adoc#architecture[shared Stackable log dir]
21
+ (for pickup by the Vector log agent).
22
+
23
+ Additionally, it is written as JSON to `/stackable/log/containerdebug-state.json`.
24
+ This file only contains the output from the _latest_ containerdebug run.
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ This way you can get a detailed view of the operations of a component while view
30
30
Logging for each product is configured in the Stacklet resource.
31
31
For advanced log configurations, supplying custom product specific log configuration files is also supported.
32
32
33
+ [#architecture]
33
34
== Architecture
34
35
35
36
Below you can see the overall architecture using ZooKeeper as an example.
You can’t perform that action at this time.
0 commit comments