From e6519ab5a4f57e63b7a3ebc8198db8d8aa5ee869 Mon Sep 17 00:00:00 2001 From: Maxi Wittich Date: Mon, 23 Nov 2026 12:46:01 +0100 Subject: [PATCH 1/3] update containerdebug config documentation --- .../pages/observability/containerdebug.adoc | 35 +++++++++++++++---- 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/modules/concepts/pages/observability/containerdebug.adoc b/modules/concepts/pages/observability/containerdebug.adoc index 45d6aeb16..1aa5c2758 100644 --- a/modules/concepts/pages/observability/containerdebug.adoc +++ b/modules/concepts/pages/observability/containerdebug.adoc @@ -1,5 +1,5 @@ = Container environment -:description: How the containerdebug tool regularly logs the container environment of Stackable-managed products, including interval and output locations. +:description: How the containerdebug tool regularly logs the container environment, how to configure or turn it off, and where it writes its output. All Stackable-managed products regularly log information about their operating environment, such as available disk interfaces and network interfaces. @@ -9,11 +9,34 @@ This logging is performed by our https://github.com/stackabletech/operator-rs/tr NOTE: This tool is intended as a debugging aid, and the particular information or format should not be considered stable. -== Interval - -The tool collects and logs the state of the container every 30 minutes. It can also -be triggered manually, by running the `containerdebug` command inside of the -main product container. +== Configuration + +By default, `containerdebug` collects and logs the state of the container every 30 minutes. +Following the Stackable xref:stacklet.adoc#roles[roles] and xref:stacklet.adoc#roles[role groups] concept, you can change the interval or turn `containerdebug` off with `config.containerdebug`, either at role or role group level: + +[source,yaml] +---- +spec: + workers: + config: + containerdebug: + enabled: true # Default + interval: 1h # Run it every hour in all worker roleGroups + roleGroups: + normal: # Will run every hour, takes configurations above. + replicas: 1 + quiet: # Disabled containerdebug + replicas: 1 + config: + containerdebug: + enabled: false # Disabled for this `roleGroup` +---- + +`enabled`:: Whether the tool runs in the background of the product container. Defaults to `true`. +`interval`:: The time between two runs, for example `30m`, `1h` or `2d`. Defaults to `30m` and must not be zero. + +When `containerdebug` is turned off, it writes none of the <> described below, and its interval is not validated. +Product specific configurations, are documented in the corresponding operators. == Output From c4199168de4fc073dc234fe5e799deec96260dd0 Mon Sep 17 00:00:00 2001 From: Maxi Wittich Date: Mon, 23 Nov 2026 12:55:32 +0100 Subject: [PATCH 2/3] rewording docs --- modules/concepts/pages/observability/containerdebug.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/concepts/pages/observability/containerdebug.adoc b/modules/concepts/pages/observability/containerdebug.adoc index 1aa5c2758..8a537f7bc 100644 --- a/modules/concepts/pages/observability/containerdebug.adoc +++ b/modules/concepts/pages/observability/containerdebug.adoc @@ -36,7 +36,7 @@ spec: `interval`:: The time between two runs, for example `30m`, `1h` or `2d`. Defaults to `30m` and must not be zero. When `containerdebug` is turned off, it writes none of the <> described below, and its interval is not validated. -Product specific configurations, are documented in the corresponding operators. +Product specific configurations, are documented in the corresponding operators logging documentation. == Output From 7d51b665baa1f6fc349d432d97c5db1cde42d245 Mon Sep 17 00:00:00 2001 From: Maxi Wittich Date: Tue, 24 Nov 2026 14:43:04 +0100 Subject: [PATCH 3/3] Update docs --- modules/concepts/pages/observability/containerdebug.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/concepts/pages/observability/containerdebug.adoc b/modules/concepts/pages/observability/containerdebug.adoc index 8a537f7bc..8f5734d92 100644 --- a/modules/concepts/pages/observability/containerdebug.adoc +++ b/modules/concepts/pages/observability/containerdebug.adoc @@ -21,7 +21,7 @@ spec: config: containerdebug: enabled: true # Default - interval: 1h # Run it every hour in all worker roleGroups + interval: 1h # Run it every hour in all worker role groups roleGroups: normal: # Will run every hour, takes configurations above. replicas: 1 @@ -29,7 +29,7 @@ spec: replicas: 1 config: containerdebug: - enabled: false # Disabled for this `roleGroup` + enabled: false # Disabled for this role group ---- `enabled`:: Whether the tool runs in the background of the product container. Defaults to `true`.