diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fc755cd..2433911c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ## [Unreleased] +### Added + +- Add the `config.containerdebug` field to roles and role groups ([#839]). + +[#839]: https://github.com/stackabletech/hbase-operator/pull/839 + ## [26.11.0] - 2026-11-20 ## [26.11.0-rc1] - 2026-11-19 diff --git a/docs/modules/hbase/pages/usage-guide/logging.adoc b/docs/modules/hbase/pages/usage-guide/logging.adoc index 0a910119..14852a25 100644 --- a/docs/modules/hbase/pages/usage-guide/logging.adoc +++ b/docs/modules/hbase/pages/usage-guide/logging.adoc @@ -10,6 +10,8 @@ spec: vectorAggregatorConfigMapName: vector-aggregator-discovery masters: config: + containerdebug: + enabled: false logging: enableVectorAgent: true regionServers: @@ -30,4 +32,6 @@ Overriding `FILE_LOG_DIRECTORY` with `envOverrides` therefore changes how these The agent only collects files one level below `/stackable/log`, so a sibling directory such as `/stackable/log/hbase` relabels the events instead of dropping them, while any deeper or shallower path stops the aggregation. A path outside `/stackable/log` also leaves the size-capped log volume. +The `containerdebug` process can be configured or turned off per role and role group, as described in xref:concepts:observability/containerdebug.adoc#configuration[]. + Further information on how to configure logging, can be found in xref:concepts:logging.adoc[]. diff --git a/extra/crds.yaml b/extra/crds.yaml index c3a030a4..28b67e5d 100644 --- a/extra/crds.yaml +++ b/extra/crds.yaml @@ -285,6 +285,26 @@ spec: type: object x-kubernetes-preserve-unknown-fields: true type: object + containerdebug: + default: + enabled: null + interval: null + description: |- + Configures the `containerdebug` tool, which periodically logs information about the container + environment (such as network interfaces, DNS lookups and disk usage) in the background of the + product container. + properties: + enabled: + description: Whether `containerdebug` runs in the background of the product container. Defaults to `true`. + nullable: true + type: boolean + interval: + description: |- + Time between two runs of `containerdebug`, e.g. `30m`, `1h` or `2d`. Must not be zero. + Defaults to `30m`. + nullable: true + type: string + type: object gracefulShutdownTimeout: description: Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details. nullable: true @@ -710,6 +730,26 @@ spec: type: object x-kubernetes-preserve-unknown-fields: true type: object + containerdebug: + default: + enabled: null + interval: null + description: |- + Configures the `containerdebug` tool, which periodically logs information about the container + environment (such as network interfaces, DNS lookups and disk usage) in the background of the + product container. + properties: + enabled: + description: Whether `containerdebug` runs in the background of the product container. Defaults to `true`. + nullable: true + type: boolean + interval: + description: |- + Time between two runs of `containerdebug`, e.g. `30m`, `1h` or `2d`. Must not be zero. + Defaults to `30m`. + nullable: true + type: string + type: object gracefulShutdownTimeout: description: Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details. nullable: true @@ -1137,6 +1177,26 @@ spec: type: object x-kubernetes-preserve-unknown-fields: true type: object + containerdebug: + default: + enabled: null + interval: null + description: |- + Configures the `containerdebug` tool, which periodically logs information about the container + environment (such as network interfaces, DNS lookups and disk usage) in the background of the + product container. + properties: + enabled: + description: Whether `containerdebug` runs in the background of the product container. Defaults to `true`. + nullable: true + type: boolean + interval: + description: |- + Time between two runs of `containerdebug`, e.g. `30m`, `1h` or `2d`. Must not be zero. + Defaults to `30m`. + nullable: true + type: string + type: object gracefulShutdownTimeout: description: Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details. nullable: true @@ -1597,6 +1657,26 @@ spec: type: object x-kubernetes-preserve-unknown-fields: true type: object + containerdebug: + default: + enabled: null + interval: null + description: |- + Configures the `containerdebug` tool, which periodically logs information about the container + environment (such as network interfaces, DNS lookups and disk usage) in the background of the + product container. + properties: + enabled: + description: Whether `containerdebug` runs in the background of the product container. Defaults to `true`. + nullable: true + type: boolean + interval: + description: |- + Time between two runs of `containerdebug`, e.g. `30m`, `1h` or `2d`. Must not be zero. + Defaults to `30m`. + nullable: true + type: string + type: object gracefulShutdownTimeout: description: Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details. nullable: true @@ -2045,6 +2125,26 @@ spec: type: object x-kubernetes-preserve-unknown-fields: true type: object + containerdebug: + default: + enabled: null + interval: null + description: |- + Configures the `containerdebug` tool, which periodically logs information about the container + environment (such as network interfaces, DNS lookups and disk usage) in the background of the + product container. + properties: + enabled: + description: Whether `containerdebug` runs in the background of the product container. Defaults to `true`. + nullable: true + type: boolean + interval: + description: |- + Time between two runs of `containerdebug`, e.g. `30m`, `1h` or `2d`. Must not be zero. + Defaults to `30m`. + nullable: true + type: string + type: object gracefulShutdownTimeout: description: Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details. nullable: true @@ -2470,6 +2570,26 @@ spec: type: object x-kubernetes-preserve-unknown-fields: true type: object + containerdebug: + default: + enabled: null + interval: null + description: |- + Configures the `containerdebug` tool, which periodically logs information about the container + environment (such as network interfaces, DNS lookups and disk usage) in the background of the + product container. + properties: + enabled: + description: Whether `containerdebug` runs in the background of the product container. Defaults to `true`. + nullable: true + type: boolean + interval: + description: |- + Time between two runs of `containerdebug`, e.g. `30m`, `1h` or `2d`. Must not be zero. + Defaults to `30m`. + nullable: true + type: string + type: object gracefulShutdownTimeout: description: Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details. nullable: true diff --git a/rust/operator-binary/src/controller/build/container.rs b/rust/operator-binary/src/controller/build/container.rs index aa3218fb..131b15c1 100644 --- a/rust/operator-binary/src/controller/build/container.rs +++ b/rust/operator-binary/src/controller/build/container.rs @@ -13,6 +13,7 @@ use snafu::{ResultExt, Snafu}; use stackable_operator::{ builder::pod::volume::VolumeBuilder, constant, + crd::containerdebug::ValidatedContainerdebugConfig, k8s_openapi::{ api::core::v1::{ ConfigMapVolumeSource, Container, ContainerPort, PersistentVolumeClaim, Probe, @@ -57,6 +58,10 @@ constant!(HADOOP_CONF_DIR_ENV: EnvVarName = "HADOOP_CONF_DIR"); constant!(pub(crate) REGION_MOVER_OPTS_ENV: EnvVarName = "REGION_MOVER_OPTS"); constant!(pub(crate) RUN_REGION_MOVER_ENV: EnvVarName = "RUN_REGION_MOVER"); constant!(STACKABLE_LOG_DIR_ENV: EnvVarName = "STACKABLE_LOG_DIR"); +// Read by hbase-entrypoint.sh, which starts `containerdebug`. Images without support for them +// ignore both and run `containerdebug` every 30 minutes. +constant!(CONTAINERDEBUG_ENABLED_ENV: EnvVarName = "CONTAINERDEBUG_ENABLED"); +constant!(CONTAINERDEBUG_INTERVAL_ENV: EnvVarName = "CONTAINERDEBUG_INTERVAL"); constant!(FILE_LOG_DIRECTORY_ENV: EnvVarName = "FILE_LOG_DIRECTORY"); constant!(FILE_LOG_MAX_FILES_ENV: EnvVarName = "FILE_LOG_MAX_FILES"); constant!(FILE_LOG_ROTATION_PERIOD_ENV: EnvVarName = "FILE_LOG_ROTATION_PERIOD"); @@ -160,6 +165,7 @@ pub(crate) fn containers_and_volumes(inputs: &RoleGroupInputs) -> Result Result EnvVarSet { + match containerdebug { + ValidatedContainerdebugConfig::Enabled { interval } => EnvVarSet::new() + .with_value(&CONTAINERDEBUG_ENABLED_ENV, "true") + .with_value(&CONTAINERDEBUG_INTERVAL_ENV, interval.to_string()), + ValidatedContainerdebugConfig::Disabled => { + EnvVarSet::new().with_value(&CONTAINERDEBUG_ENABLED_ENV, "false") + } + } +} + /// Returns the container command. fn command() -> Vec { vec![ diff --git a/rust/operator-binary/src/controller/build/mod.rs b/rust/operator-binary/src/controller/build/mod.rs index 75ea2864..1e0b7b1f 100644 --- a/rust/operator-binary/src/controller/build/mod.rs +++ b/rust/operator-binary/src/controller/build/mod.rs @@ -267,6 +267,7 @@ pub(crate) fn role_group_selector( mod tests { use std::collections::BTreeMap; + use indoc::indoc; use stackable_operator::{ k8s_openapi::api::{apps::v1::StatefulSetSpec, core::v1::PodSpec}, kube::Resource, @@ -447,6 +448,64 @@ mod tests { } } + /// The entrypoint script of the image starts `containerdebug` from these variables, so every + /// role passes on its own validated config. + #[test] + fn every_role_passes_its_containerdebug_config_to_the_entrypoint() { + let cluster = test_utils::validated_cluster_from(&test_utils::hbase_from_yaml(indoc! {r#" + --- + apiVersion: hbase.stackable.tech/v1alpha1 + kind: HbaseCluster + metadata: + name: hbase + namespace: default + uid: c2c8c5c0-0b5a-4b1e-9f3e-1a2b3c4d5e6f + spec: + image: + productVersion: 2.6.3 + clusterConfig: + hdfsConfigMapName: simple-hdfs + zookeeperConfigMapName: simple-znode + masters: + config: + containerdebug: + enabled: false + roleGroups: + default: + replicas: 1 + regionServers: + config: + containerdebug: + interval: 10m + roleGroups: + default: + replicas: 1 + restServers: + roleGroups: + default: + replicas: 1 + "#})); + let resources = build(&cluster, &test_utils::cluster_info()).expect("build succeeds"); + + for (role, expected_enabled, expected_interval) in [ + (HbaseRole::Master, "false", None), + (HbaseRole::RegionServer, "true", Some("10m")), + (HbaseRole::RestServer, "true", Some("30m")), + ] { + let env = hbase_container_env(stateful_set_spec(&resources, &cluster, &role)); + assert_eq!( + env.get("CONTAINERDEBUG_ENABLED").map(String::as_str), + Some(expected_enabled), + "{role:?} CONTAINERDEBUG_ENABLED", + ); + assert_eq!( + env.get("CONTAINERDEBUG_INTERVAL").map(String::as_str), + expected_interval, + "{role:?} CONTAINERDEBUG_INTERVAL", + ); + } + } + /// Each role's `hbase-site.xml` carries only its own bind settings, and its `hbase-env.sh` /// its own `*_OPTS` variable. #[test] diff --git a/rust/operator-binary/src/controller/build/role_group/master.rs b/rust/operator-binary/src/controller/build/role_group/master.rs index ce28ae73..2cc92f01 100644 --- a/rust/operator-binary/src/controller/build/role_group/master.rs +++ b/rust/operator-binary/src/controller/build/role_group/master.rs @@ -42,6 +42,7 @@ pub(crate) fn inputs<'a>( resources, logging, affinity, + containerdebug, graceful_shutdown_timeout, requested_secret_lifetime, listener_class, @@ -66,6 +67,7 @@ pub(crate) fn inputs<'a>( resources: resources.clone(), hbase_rootdir: hbase_rootdir.clone(), logging: logging.clone(), + containerdebug: containerdebug.clone(), listener, region_mover_opts: String::new(), run_region_mover: false, diff --git a/rust/operator-binary/src/controller/build/role_group/mod.rs b/rust/operator-binary/src/controller/build/role_group/mod.rs index a31ec3cf..2ad401a8 100644 --- a/rust/operator-binary/src/controller/build/role_group/mod.rs +++ b/rust/operator-binary/src/controller/build/role_group/mod.rs @@ -16,6 +16,7 @@ use stackable_operator::{ affinity::StackableAffinity, resources::{NoRuntimeLimits, Resources}, }, + crd::containerdebug::ValidatedContainerdebugConfig, k8s_openapi::api::{ apps::v1::StatefulSet, core::v1::{ConfigMap, Container, PersistentVolumeClaim, PodTemplateSpec, Service, Volume}, @@ -89,6 +90,8 @@ pub(crate) struct RoleGroupInputs<'a> { pub(crate) resources: Resources, pub(crate) hbase_rootdir: String, pub(crate) logging: ValidatedLogging, + /// Passed to the entrypoint script of the image, which starts `containerdebug`. + pub(crate) containerdebug: ValidatedContainerdebugConfig, pub(crate) listener: ListenerPlacement, /// Set on every role because the entrypoint runs under `set -u`; only RegionServers run the /// mover, so only they have a non-empty value. diff --git a/rust/operator-binary/src/controller/build/role_group/region_server.rs b/rust/operator-binary/src/controller/build/role_group/region_server.rs index e23c2d7b..22cbf0c0 100644 --- a/rust/operator-binary/src/controller/build/role_group/region_server.rs +++ b/rust/operator-binary/src/controller/build/role_group/region_server.rs @@ -43,6 +43,7 @@ pub(crate) fn inputs<'a>( resources, logging, affinity, + containerdebug, graceful_shutdown_timeout, requested_secret_lifetime, listener_class, @@ -67,6 +68,7 @@ pub(crate) fn inputs<'a>( resources: resources.clone(), hbase_rootdir: hbase_rootdir.clone(), logging: logging.clone(), + containerdebug: containerdebug.clone(), listener, region_mover_opts: region_mover::region_mover_args(&rg_config.config), run_region_mover: region_mover.run_before_shutdown, diff --git a/rust/operator-binary/src/controller/build/role_group/rest_server.rs b/rust/operator-binary/src/controller/build/role_group/rest_server.rs index b7fb1ea2..52b0e4d2 100644 --- a/rust/operator-binary/src/controller/build/role_group/rest_server.rs +++ b/rust/operator-binary/src/controller/build/role_group/rest_server.rs @@ -34,6 +34,7 @@ pub(crate) fn inputs<'a>( resources, logging, affinity, + containerdebug, graceful_shutdown_timeout, requested_secret_lifetime, listener_class, @@ -57,6 +58,7 @@ pub(crate) fn inputs<'a>( resources: resources.clone(), hbase_rootdir: hbase_rootdir.clone(), logging: logging.clone(), + containerdebug: containerdebug.clone(), listener, region_mover_opts: String::new(), run_region_mover: false, diff --git a/rust/operator-binary/src/controller/mod.rs b/rust/operator-binary/src/controller/mod.rs index b675220e..bb4ae9e6 100644 --- a/rust/operator-binary/src/controller/mod.rs +++ b/rust/operator-binary/src/controller/mod.rs @@ -16,6 +16,7 @@ use stackable_operator::{ resources::{NoRuntimeLimits, Resources}, }, constant, + crd::containerdebug::ValidatedContainerdebugConfig, k8s_openapi::{ api::{ apps::v1::StatefulSet, @@ -95,6 +96,7 @@ pub struct ValidatedMasterConfig { pub resources: Resources, pub logging: ValidatedLogging, pub affinity: StackableAffinity, + pub containerdebug: ValidatedContainerdebugConfig, pub graceful_shutdown_timeout: Duration, pub requested_secret_lifetime: Duration, pub listener_class: ListenerClassName, @@ -109,6 +111,7 @@ pub struct ValidatedRegionServerConfig { pub resources: Resources, pub logging: ValidatedLogging, pub affinity: StackableAffinity, + pub containerdebug: ValidatedContainerdebugConfig, pub graceful_shutdown_timeout: Duration, pub requested_secret_lifetime: Duration, pub listener_class: ListenerClassName, @@ -124,6 +127,7 @@ pub struct ValidatedRestServerConfig { pub resources: Resources, pub logging: ValidatedLogging, pub affinity: StackableAffinity, + pub containerdebug: ValidatedContainerdebugConfig, pub graceful_shutdown_timeout: Duration, pub requested_secret_lifetime: Duration, pub listener_class: ListenerClassName, diff --git a/rust/operator-binary/src/controller/validate.rs b/rust/operator-binary/src/controller/validate.rs index 07e59480..cf66c7d5 100644 --- a/rust/operator-binary/src/controller/validate.rs +++ b/rust/operator-binary/src/controller/validate.rs @@ -7,6 +7,7 @@ use stackable_operator::{ fragment::{self, FromFragment}, merge::Merge, }, + crd::containerdebug, kube::ResourceExt, product_logging::spec::Logging, role_utils::GenericRoleConfig, @@ -82,6 +83,13 @@ pub enum Error { #[snafu(display("the secret lifetime of {role} role group {role_group} is missing"))] MissingSecretLifetime { role: HbaseRole, role_group: String }, + #[snafu(display("invalid containerdebug configuration for {role} role group {role_group}"))] + InvalidContainerdebugConfig { + source: containerdebug::Error, + role: HbaseRole, + role_group: String, + }, + #[snafu(display( "invalid hbase-env.sh variable name {variable:?} in the configOverrides of {role} role group {role_group}" ))] @@ -382,6 +390,7 @@ fn validated_master_config( resources, logging, affinity, + containerdebug, graceful_shutdown_timeout, requested_secret_lifetime, listener_class, @@ -391,6 +400,12 @@ fn validated_master_config( resources, logging: validate_logging(&logging, vector_aggregator_config_map_name)?, affinity, + containerdebug: containerdebug.validate().with_context(|_| { + InvalidContainerdebugConfigSnafu { + role: hbase_role.clone(), + role_group: role_group_name.to_owned(), + } + })?, graceful_shutdown_timeout: graceful_shutdown_timeout.with_context(|| { MissingGracefulShutdownTimeoutSnafu { role: hbase_role.clone(), @@ -420,6 +435,7 @@ fn validated_region_server_config( resources, logging, affinity, + containerdebug, graceful_shutdown_timeout, requested_secret_lifetime, listener_class, @@ -430,6 +446,12 @@ fn validated_region_server_config( resources, logging: validate_logging(&logging, vector_aggregator_config_map_name)?, affinity, + containerdebug: containerdebug.validate().with_context(|_| { + InvalidContainerdebugConfigSnafu { + role: hbase_role.clone(), + role_group: role_group_name.to_owned(), + } + })?, graceful_shutdown_timeout: graceful_shutdown_timeout.with_context(|| { MissingGracefulShutdownTimeoutSnafu { role: hbase_role.clone(), @@ -460,6 +482,7 @@ fn validated_rest_server_config( resources, logging, affinity, + containerdebug, graceful_shutdown_timeout, requested_secret_lifetime, listener_class, @@ -469,6 +492,12 @@ fn validated_rest_server_config( resources, logging: validate_logging(&logging, vector_aggregator_config_map_name)?, affinity, + containerdebug: containerdebug.validate().with_context(|_| { + InvalidContainerdebugConfigSnafu { + role: hbase_role.clone(), + role_group: role_group_name.to_owned(), + } + })?, graceful_shutdown_timeout: graceful_shutdown_timeout.with_context(|| { MissingGracefulShutdownTimeoutSnafu { role: hbase_role.clone(), @@ -711,4 +740,131 @@ spec: "{error:?}" ); } + + /// A role `config` that does not mention `containerdebug` still gets the default, so the + /// `containerdebug` field of the CRD must be optional in every role. + #[test] + fn containerdebug_defaults_when_not_configured() { + use stackable_operator::crd::containerdebug::{ + DEFAULT_INTERVAL, ValidatedContainerdebugConfig, + }; + + let hbase = test_utils::hbase_from_yaml(indoc! {r#" + --- + apiVersion: hbase.stackable.tech/v1alpha1 + kind: HbaseCluster + metadata: + name: hbase + namespace: default + uid: c2c8c5c0-0b5a-4b1e-9f3e-1a2b3c4d5e6f + spec: + image: + productVersion: 2.6.3 + clusterConfig: + hdfsConfigMapName: simple-hdfs + zookeeperConfigMapName: simple-znode + masters: + config: + gracefulShutdownTimeout: 1m + roleGroups: + default: + replicas: 1 + regionServers: + config: + gracefulShutdownTimeout: 1m + roleGroups: + default: + replicas: 1 + restServers: + config: + gracefulShutdownTimeout: 1m + roleGroups: + default: + replicas: 1 + "#}); + + let cluster = match validate_cluster( + &hbase, + "oci.example.org", + test_utils::dereferenced_objects(), + ) { + Ok(cluster) => cluster, + Err(error) => panic!("the cluster is valid, but: {error:?}"), + }; + + let default = ValidatedContainerdebugConfig::Enabled { + interval: DEFAULT_INTERVAL, + }; + assert_eq!( + test_utils::master_role_group_config(&cluster, "default") + .config + .containerdebug, + default + ); + assert_eq!( + test_utils::region_server_role_group_config(&cluster, "default") + .config + .containerdebug, + default + ); + assert_eq!( + test_utils::rest_server_role_group_config(&cluster, "default") + .config + .containerdebug, + default + ); + } + + /// An invalid `containerdebug` config fails the validation, naming the role and the role + /// group. + #[test] + fn zero_containerdebug_interval_fails_validation() { + let hbase = test_utils::hbase_from_yaml(indoc! {r#" + --- + apiVersion: hbase.stackable.tech/v1alpha1 + kind: HbaseCluster + metadata: + name: hbase + namespace: default + uid: c2c8c5c0-0b5a-4b1e-9f3e-1a2b3c4d5e6f + spec: + image: + productVersion: 2.6.3 + clusterConfig: + hdfsConfigMapName: simple-hdfs + zookeeperConfigMapName: simple-znode + masters: + roleGroups: + default: + replicas: 1 + regionServers: + config: + containerdebug: + interval: 0s + roleGroups: + default: + replicas: 1 + "#}); + + let error = validate_cluster( + &hbase, + "oci.example.org", + test_utils::dereferenced_objects(), + ) + .expect_err("a zero containerdebug interval should be rejected"); + let chain: Vec = + std::iter::successors(Some(&error as &dyn std::error::Error), |error| { + error.source() + }) + .map(ToString::to_string) + .collect(); + + assert_eq!( + chain, + [ + "invalid containerdebug configuration for regionserver role group default", + "the containerdebug interval must not be zero", + ] + ); + } } diff --git a/rust/operator-binary/src/crd/mod.rs b/rust/operator-binary/src/crd/mod.rs index efa0f286..9c7439af 100644 --- a/rust/operator-binary/src/crd/mod.rs +++ b/rust/operator-binary/src/crd/mod.rs @@ -19,6 +19,7 @@ use stackable_operator::{ merge::{Atomic, Merge}, }, constant, + crd::containerdebug::{default_containerdebug_config, v1alpha1::ContainerdebugConfig}, deep_merger::ObjectOverrides, k8s_openapi::apimachinery::pkg::api::resource::Quantity, kube::CustomResource, @@ -327,6 +328,7 @@ impl HbaseConfigFragment { resources: default_resources(role), logging: product_logging::spec::default_logging(), affinity: get_affinity(cluster_name, role, hdfs_discovery_cm_name, opa_config), + containerdebug: default_containerdebug_config(), graceful_shutdown_timeout: Some(graceful_shutdown_timeout), requested_secret_lifetime: Some(HbaseRole::DEFAULT_SECRET_LIFETIME), listener_class: Some( @@ -350,6 +352,7 @@ impl RegionServerConfigFragment { resources: default_resources(role), logging: product_logging::spec::default_logging(), affinity: get_affinity(cluster_name, role, hdfs_discovery_cm_name, opa_config), + containerdebug: default_containerdebug_config(), graceful_shutdown_timeout: Some( HbaseRole::DEFAULT_REGION_SERVER_GRACEFUL_SHUTDOWN_TIMEOUT, ), @@ -433,6 +436,9 @@ pub struct HbaseConfig { #[fragment_attrs(serde(default))] pub affinity: StackableAffinity, + #[fragment_attrs(serde(default))] + pub containerdebug: ContainerdebugConfig, + /// Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details. #[fragment_attrs(serde(default))] pub graceful_shutdown_timeout: Option, @@ -510,6 +516,9 @@ pub struct RegionServerConfig { #[fragment_attrs(serde(default))] pub affinity: StackableAffinity, + #[fragment_attrs(serde(default))] + pub containerdebug: ContainerdebugConfig, + /// Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details. #[fragment_attrs(serde(default))] pub graceful_shutdown_timeout: Option,