Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@ All notable changes to this project will be documented in this file.
See [objectOverrides concepts page](https://docs.stackable.tech/home/nightly/concepts/overrides/#object-overrides) for details ([#741]).
- Enable the [restart-controller](https://docs.stackable.tech/home/nightly/commons-operator/restarter/), so that the Pods are automatically restarted on config changes ([#743]).

### Changed

- Gracefully shutdown all concurrent tasks by forwarding the SIGTERM signal ([#747]).

### Fixed

- Previously, some shell output of init-containers was not logged properly and therefore not aggregated, which is fixed now ([#746]).

[#741]: https://github.com/stackabletech/hdfs-operator/pull/741
[#743]: https://github.com/stackabletech/hdfs-operator/pull/743
[#746]: https://github.com/stackabletech/hdfs-operator/pull/746
[#747]: https://github.com/stackabletech/hdfs-operator/pull/747

## [25.11.0] - 2025-11-07

Expand Down
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 23 additions & 23 deletions Cargo.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository = "https://github.com/stackabletech/hdfs-operator"

[workspace.dependencies]
product-config = { git = "https://github.com/stackabletech/product-config.git", tag = "0.8.0" }
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.102.0", features = ["telemetry", "versioned"] }
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.105.0", features = ["telemetry", "versioned"] }

anyhow = "1.0"
built = { version = "0.8", features = ["chrono", "git2"] }
Expand Down
14 changes: 7 additions & 7 deletions crate-hashes.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions deploy/helm/hdfs-operator/crds/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ spec:
default: {}
description: |-
In the `podOverrides` property you can define a
[PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#podtemplatespec-v1-core)
[PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#podtemplatespec-v1-core)
to override any property that can be set on a Kubernetes Pod.
Read the
[Pod overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#pod-overrides)
Expand Down Expand Up @@ -855,7 +855,7 @@ spec:
default: {}
description: |-
In the `podOverrides` property you can define a
[PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#podtemplatespec-v1-core)
[PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#podtemplatespec-v1-core)
to override any property that can be set on a Kubernetes Pod.
Read the
[Pod overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#pod-overrides)
Expand Down Expand Up @@ -1240,7 +1240,7 @@ spec:
default: {}
description: |-
In the `podOverrides` property you can define a
[PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#podtemplatespec-v1-core)
[PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#podtemplatespec-v1-core)
to override any property that can be set on a Kubernetes Pod.
Read the
[Pod overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#pod-overrides)
Expand Down Expand Up @@ -1589,7 +1589,7 @@ spec:
default: {}
description: |-
In the `podOverrides` property you can define a
[PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#podtemplatespec-v1-core)
[PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#podtemplatespec-v1-core)
to override any property that can be set on a Kubernetes Pod.
Read the
[Pod overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#pod-overrides)
Expand Down Expand Up @@ -1924,7 +1924,7 @@ spec:
default: {}
description: |-
In the `podOverrides` property you can define a
[PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#podtemplatespec-v1-core)
[PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#podtemplatespec-v1-core)
to override any property that can be set on a Kubernetes Pod.
Read the
[Pod overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#pod-overrides)
Expand Down Expand Up @@ -2279,7 +2279,7 @@ spec:
default: {}
description: |-
In the `podOverrides` property you can define a
[PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#podtemplatespec-v1-core)
[PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#podtemplatespec-v1-core)
to override any property that can be set on a Kubernetes Pod.
Read the
[Pod overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#pod-overrides)
Expand Down
9 changes: 7 additions & 2 deletions rust/operator-binary/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ use stackable_operator::{
logging::controller::report_controller_reconciled,
shared::yaml::SerializeOptions,
telemetry::Tracing,
utils::signal::SignalWatcher,
};
use tracing::info_span;
use tracing_futures::Instrument;
Expand Down Expand Up @@ -91,9 +92,13 @@ async fn main() -> anyhow::Result<()> {
description = built_info::PKG_DESCRIPTION
);

// Watches for the SIGTERM signal and sends a signal to all receivers, which gracefully
// shuts down all concurrent tasks below (EoS checker, controller).
let sigterm_watcher = SignalWatcher::sigterm()?;

let eos_checker =
EndOfSupportChecker::new(built_info::BUILT_TIME_UTC, maintenance.end_of_support)?
.run()
.run(sigterm_watcher.handle())
.map(anyhow::Ok);

let product_config = product_config.load(&[
Expand Down Expand Up @@ -152,7 +157,6 @@ async fn main() -> anyhow::Result<()> {
watch_namespace.get_api::<DeserializeGuard<ConfigMap>>(&client),
watcher::Config::default(),
)
.shutdown_on_signal()
.watches(
watch_namespace.get_api::<DeserializeGuard<ConfigMap>>(&client),
watcher::Config::default(),
Expand All @@ -164,6 +168,7 @@ async fn main() -> anyhow::Result<()> {
.map(|hdfs| reflector::ObjectRef::from_obj(&*hdfs))
},
)
.graceful_shutdown_on(sigterm_watcher.handle())
.run(
hdfs_controller::reconcile_hdfs,
hdfs_controller::error_policy,
Expand Down